Add Frozen prompt for 0129 to Prompt A for VSC Chat model#3452
Conversation
…elrahmanAbouelenin/vscode-copilot-chat into atabakashfaq/add0129_promptA
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @eleanorjboydMatched files:
|
There was a problem hiding this comment.
Pull request overview
This PR updates the VSC Model A prompt to a new "0129" version by replacing the entire system prompt content while maintaining the same structure. The changes represent a significant shift in prompting strategy, removing planning/todo list instructions and response translation rules, while adding new guidance around parallel tool usage, response formatting requirements, and assistant message ordering.
Changes:
- Replaced planning/todo list instructions with parallel tool use guidance emphasizing multi_tool_use for efficiency
- Added explicit final_first_requirement and commentary_first_requirement tags to control assistant message ordering
- Created new VSCModelReminderInstructionsA class with additional constraints referencing the new requirements
- Removed imports for ResponseTranslationRules, McpToolInstructions, and NotebookInstructions that are no longer used
Comments suppressed due to low confidence (3)
src/extension/prompts/node/agent/vscModelPrompts.tsx:110
- The response text "sure I am here to help." should be "Sure, I am here to help." with a capital "S" at the beginning and a comma after "Sure" for proper grammar. Additionally, there's a double period ".." which should be a single period.
if the request is ambiguous, respond with "sure I am here to help.".<br />
src/extension/prompts/node/agent/vscModelPrompts.tsx:116
- There are two consecutive blank lines (115-116) before the closing tag. This appears to be unnecessary whitespace. Consider removing one blank line for consistency with the rest of the codebase.
src/extension/prompts/node/agent/vscModelPrompts.tsx:24 - There's a grammatical error with a duplicated word "If". The sentence reads "You are encouraged to call functions in parallel if If you think..." - the second "If" should be removed or the sentence should be restructured.
You are encouraged to call functions in parallel if If you think running multiple tools can answer the user's question to maximize efficiency by parallelizing independent operations. This reduces latency and provides faster responses to users.<br />
| Don't call the run_in_terminal tool multiple times in parallel. Instead, run one command and wait for the output before running the next command.<br /> | ||
| In some cases, like creating multiple files, read multiple files, or doing apply patch for multiple files, you are encouraged to do them in parallel.<br /> | ||
| <br /> | ||
| You are encouraged to call functions in parallel if If you think running multiple tools can answer the user's question to maximize efficiency by parallelizing independent operations. This reduces latency and provides faster responses to users.<br /> |
There was a problem hiding this comment.
Duplicate word "if": "You are encouraged to call functions in parallel if If you think" should be "You are encouraged to call functions in parallel if you think". Note that VSCModelPromptB has this correct on line 130.
| You are encouraged to call functions in parallel if If you think running multiple tools can answer the user's question to maximize efficiency by parallelizing independent operations. This reduces latency and provides faster responses to users.<br /> | |
| You are encouraged to call functions in parallel if you think running multiple tools can answer the user's question to maximize efficiency by parallelizing independent operations. This reduces latency and provides faster responses to users.<br /> |
* Add Frozen prompt for 0129 to Prompt A for VSC Chat model * skip promptA hash
Change PromptA to 0129 version
Add swe_vsc_derisk_ttfc0-s90 hash to PromptA