Skip to content

disable the switch agent tool for now#3297

Merged
sbatten merged 1 commit intomainfrom
sbatten/switch-agent-setting
Jan 30, 2026
Merged

disable the switch agent tool for now#3297
sbatten merged 1 commit intomainfrom
sbatten/switch-agent-setting

Conversation

@sbatten
Copy link
Member

@sbatten sbatten commented Jan 30, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 30, 2026 00:10
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Jan 30, 2026
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

Disables the Switch Agent language model tool by default by introducing a dedicated configuration flag and gating the tool contribution on that flag.

Changes:

  • Added a new github.copilot.chat.switchAgent.enabled setting (default false).
  • Gated the copilot_switchAgent tool contribution behind config.github.copilot.chat.switchAgent.enabled.
  • Added localization text for the new setting’s description.

Reviewed changes

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

File Description
src/platform/configuration/common/configurationService.ts Registers chat.switchAgent.enabled in the configuration service with default false.
package.nls.json Adds the localized description string for the new setting.
package.json Adds the new configuration property and gates the copilot_switchAgent tool via a when clause.

@sbatten sbatten added this pull request to the merge queue Jan 30, 2026
Merged via the queue into main with commit 57850ec Jan 30, 2026
25 checks passed
@sbatten sbatten deleted the sbatten/switch-agent-setting branch January 30, 2026 01:17
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