-
Notifications
You must be signed in to change notification settings - Fork 1.6k
VSC: Refactor reminder instructions A and B #2738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSC: Refactor reminder instructions A and B #2738
Conversation
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @eleanorjboydMatched files:
|
There was a problem hiding this 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
VSCModelReminderInstructionsAandVSCModelReminderInstructionsBclasses to replace the single shared class - Updated
VSCModelPromptResolverAandVSCModelPromptResolverBto 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 thatVSCModelPromptBlacks the comprehensive preamble_instructions tag)
…s://github.com/AbdelrahmanAbouelenin/vscode-copilot-chat into atabakashfaq/vsc_modify_remainder_instructions
* 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]>
VSC: Refactor reminder instructions A and B (#2738)
Divide the reminder instructions for A and B prompt sets.