Skip to content

Commit dd35205

Browse files
Copilotrajbos
andcommitted
fix: replace prompt content with exact content from workflow prompt files
Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
1 parent 26255b3 commit dd35205

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/prompts/sync-models.prompt.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,4 @@ For missing models in modelPricing.json:
7878
- Preserve all existing entries and formatting conventions
7979
- Use consistent spacing and indentation with existing file style
8080
- Models should be normalized (lowercase, hyphens instead of spaces)
81+

.github/prompts/sync-toolnames.prompt.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ tools: ['read_file', 'write_file', 'search_files', 'run_in_terminal']
66

77
# Sync Tool Names from vscode-copilot-chat
88

9-
Scan `microsoft/vscode-copilot-chat` repo for model-facing tool identifiers, compare them to the existing `src/toolNames.json` in this repo. Only make changes in this repo.
9+
Scan `microsoft/vscode-copilot-chat` repo for model-facing tool identifiers, compare them to the existing `src/toolnames.json` in our repo in the `current` folder. Only make changes in our current folder.
1010

1111
## Requirements
1212

13-
1. Clone or locate the `microsoft/vscode-copilot-chat` repository and open the file `src/extension/tools/common/toolNames.ts`.
13+
1. The `microsoft/vscode-copilot-chat` repository has been checked out and is available in the workspace in the folder `vscode-copilot-chat`. Use the paths provided in the Context Paths section below.
1414
2. In the vscode-copilot-chat repo, treat `src/extension/tools/common/toolNames.ts` as the source of truth for tool IDs.
1515
- Extract tool IDs from:
1616
- `export enum ToolName { ... }` (string literal values)
@@ -36,11 +36,11 @@ Scan `microsoft/vscode-copilot-chat` repo for model-facing tool identifiers, com
3636
```
3737
, "some_tool": "Some Tool"
3838
```
39-
7. Inject the missing entries inside the json object, matching the organic grouping of logically related tools if possible (e.g. if there are existing entries with the same prefix, group the new entry with them). If no related entries exist, add the new entry at the end of the file, but before the closing `}`.
39+
7. Inject the missing entries inside the json object, matching the organic grouping of locically related tools if possible (e.g. if there are existing entries with the same prefix, group the new entry with them). If no related entries exist, add the new entry at the end of the file, but before the closing `}`.
4040
8. Also print (as plain text, after the delta or NO_DELTA) the upstream commit SHA used for the scan and the exact file path scanned in upstream, for traceability.
4141

4242
## Constraints
43-
- Only modify `src/toolNames.json` in this repository.
43+
- Only modify our toolNames.json file.
4444
- Do not open a PR.
4545
- Do not include tools in the list that are not model-facing (only those defined in upstream `ToolName` / `ContributedToolName` string values).
4646
- Be resilient to minor refactors (enum order changes, added comments, etc.).

0 commit comments

Comments
 (0)