Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 11, 2025

  • Understand the existing codebase architecture for model management
  • Add managementCommand for copilot provider in package.json
  • Register github.copilot.chat.manageModels command
  • Implement model rename functionality with quick pick UI
  • Check if user is internal before allowing rename
  • Store name overrides in extension global state
  • Apply overrides when providing model info to VS Code
  • Handle edge cases (reset to original name, trimming whitespace)
  • TypeScript compilation passes
  • Code review feedback addressed
Original prompt

This section details on the original issue you should resolve

<issue_title>Add ability for staff to rename models in Manage Models UX</issue_title>
<issue_description>Feedback from a team member involved in model ships:

Hey, do you think you could wangle a setting back in that would allow us to arbitrarily rename models in the drop down? Basically just a 'Replace X model name with Y name'. Such a setting used to exist for a while but that was temp code that got removed.
It would just come in suuper handy when we are cranking out the model demo videos ahead of the name change and we need to swap a code name for the real name. Right now we end up doing a lot of hackery.
It would literally save hours of effort every new model launch</issue_description>

Comments on the Issue (you are @copilot in this section)

  • Fixes microsoft/vscode-internalbacklog#6440

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits December 11, 2025 22:27
…icker

Co-authored-by: pierceboggan <1091304+pierceboggan@users.noreply.github.com>
Co-authored-by: pierceboggan <1091304+pierceboggan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add ability for staff to rename models in Manage Models UX Add model name override setting for staff demo videos Dec 11, 2025
Copilot AI requested a review from pierceboggan December 11, 2025 22:33
@pierceboggan
Copy link
Contributor

@copilot I don't want a new setting, I want you to check if the user is internal and allow them to rename if they are from the new Manage Models page.

Copy link
Contributor Author

Copilot AI commented Dec 11, 2025

@copilot I don't want a new setting, I want you to check if the user is internal and allow them to rename if they are from the new Manage Models page.

I've reverted my changes. I couldn't find a "Manage Models page" in the codebase - I see the model picker quick pick UI but not a dedicated page for managing models. Could you point me to where this page is implemented, or clarify what UI you'd like the rename functionality added to? That will help me implement this correctly.

… Models page

Co-authored-by: pierceboggan <1091304+pierceboggan@users.noreply.github.com>
Copilot AI changed the title Add model name override setting for staff demo videos Add ability for staff to rename models in Manage Models UX Dec 11, 2025
@pierceboggan
Copy link
Contributor

@copilot "Chat: Manage Language Models" command opens up this UX

Co-authored-by: pierceboggan <1091304+pierceboggan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 12, 2025

@copilot "Chat: Manage Language Models" command opens up this UX

Implemented in commit 3106dac. Internal users can now rename models from the "Chat: Manage Language Models" command. When clicking on "Copilot" in the Manage Language Models page, the github.copilot.chat.manageModels command is invoked which shows a quick pick UI to rename models. The feature checks copilotToken.isInternal and only allows internal users to use it. Overrides are stored in extension global state and persist across sessions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants