Skip to content

Conversation

@eleanorjboyd
Copy link
Member

Prior PR added the setting which when set injected the model to use for the implement mode: https://github.com/microsoft/vscode/pull/289751/changes.

Now with the CustomAgentProvider API this can all be done from the copilot chat extension seamlessly. Prefer this implementation style and move to it microsoft/vscode-copilot-chat#3082

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 removes the chat.implementAgentModel setting and its associated implementation, migrating the functionality to the CustomAgentProvider API in the Copilot Chat extension. The previous approach (added in PR #289751) used a VS Code setting to inject a model for implement mode, but the new approach handles this seamlessly within the extension itself.

Changes:

  • Removed the chat.implementAgentModel configuration setting and its registration
  • Removed the logic that applied the setting when switching to implement mode
  • Cleaned up unused imports (IProductService, isBuiltinImplementMode from chatInputPart.ts)

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/vs/workbench/contrib/chat/common/constants.ts Removed ImplementationAgentModel enum value from ChatConfiguration
src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.ts Removed implementation logic that read and applied the setting, removed unused imports and service injection
src/vs/workbench/contrib/chat/browser/chat.contribution.ts Removed configuration registration for the chat.implementationAgentModel setting

@eleanorjboyd eleanorjboyd marked this pull request as ready for review January 23, 2026 21:51
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 23, 2026
TylerLeonhardt
TylerLeonhardt previously approved these changes Jan 23, 2026
@eleanorjboyd eleanorjboyd merged commit b8faf98 into microsoft:main Jan 23, 2026
17 checks passed
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.

3 participants