Skip to content

Conversation

@ashatabak786
Copy link
Contributor

Divide the reminder instructions for A and B prompt sets.

Copilot AI review requested due to automatic review settings January 7, 2026 21:22
@vs-code-engineering
Copy link

vs-code-engineering bot commented Jan 7, 2026

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@eleanorjboyd

Matched files:

  • src/extension/prompts/node/agent/vscModelPrompts.tsx

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the reminder instructions for VSC model prompts by splitting the shared VSCModelReminderInstructions class into two distinct classes: VSCModelReminderInstructionsA and VSCModelReminderInstructionsB. This allows each prompt variant (A and B) to have tailored reminder instructions that align with their respective system prompts.

Key Changes:

  • Created separate VSCModelReminderInstructionsA and VSCModelReminderInstructionsB classes to replace the single shared class
  • Updated VSCModelPromptResolverA and VSCModelPromptResolverB to return their respective reminder instruction classes
  • Differentiated the two variants: variant A includes a reference to <preamble_instructions> from its system prompt, while variant B omits this reference (consistent with the fact that VSCModelPromptB lacks the comprehensive preamble_instructions tag)

karthiknadig
karthiknadig previously approved these changes Jan 8, 2026
@vs-code-engineering vs-code-engineering bot added this to the December 2025 milestone Jan 8, 2026
mjbvz
mjbvz previously approved these changes Jan 8, 2026
@karthiknadig karthiknadig added this pull request to the merge queue Jan 12, 2026
Merged via the queue into microsoft:main with commit 2e6888c Jan 12, 2026
9 checks passed
karthiknadig pushed a commit that referenced this pull request Jan 12, 2026
* VSC: Refactor reminder instructions A and B

* Remove all preamble for reminder instruction B

* remove preamble from both A and B

* remove preamble from both A and B - remove space

* remove preamble instructions all together

* Refactor reminder instruction. Move a subset of vsc models from prompt A to prompt B.

* refactor hash.

---------

Co-authored-by: AbdelrahmanAbouelenin <[email protected]>
karthiknadig added a commit that referenced this pull request Jan 12, 2026
VSC: Refactor reminder instructions A and B (#2738)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants