Skip to content

Add GPT- 5.5 tool experiment gates - #315028

Merged
Dileep Yavanmandha (dileepyavan) merged 6 commits into
mainfrom
DileepY/disable_tool_getChangedFiles
May 7, 2026
Merged

Dileep Yavanmandha (dileepyavan) merged 6 commits into
mainfrom
DileepY/disable_tool_getChangedFiles

Conversation

@dileepyavan

@dileepyavan Dileep Yavanmandha (dileepyavan) commented May 7, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add experiment flags to control GPT-5.5 access to selected tools:
    • chat.gpt55GetChangedFilesTool.enabled gates get_changed_files
    • chat.gpt55ReadFileTool.enabled gates read_file
  • Both flags are ExperimentBased booleans and default to true, preserving existing behavior unless an experiment disables them.
  • Tool filtering uses isGpt55(endpoint) before tool-picker/explicit enablement logic, so GPT-5.4 is no longer affected by these gates.

Validation

  • Editor diagnostics for touched files: no errors
  • git diff --check passed
  • npm run typecheck currently fails on unrelated Copilot CLI SDK type errors in src/extension/chatSessions/copilotcli/node/*

Copilot AI review requested due to automatic review settings May 7, 2026 15:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds experiment-based configuration gates in the Copilot extension to selectively disable specific tools when using GPT-5.4/GPT-5.5 model families, preserving current behavior by default while allowing experiments to turn off access.

Changes:

  • Introduced two ExperimentBased boolean settings to gate get_changed_files and read_file for GPT-5.4/5.5.
  • Updated tool enablement filtering to apply these gates before tool-picker and explicit enablement logic.
Show a summary per file
File Description
extensions/copilot/src/platform/configuration/common/configurationService.ts Adds new experiment-based config keys for GPT-5.4/5.5 tool gating.
extensions/copilot/src/extension/tools/vscode-node/toolsService.ts Applies the new config gates during enabled-tools filtering for relevant model families.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 1

Comment thread extensions/copilot/src/extension/tools/vscode-node/toolsService.ts
@dileepyavan Dileep Yavanmandha (dileepyavan) changed the title Add GPT-5.4/5.5 tool experiment gates Add GPT- 5.5 tool experiment gates May 7, 2026
@dileepyavan
Dileep Yavanmandha (dileepyavan) merged commit b065104 into main May 7, 2026
26 checks passed
@dileepyavan
Dileep Yavanmandha (dileepyavan) deleted the DileepY/disable_tool_getChangedFiles branch May 7, 2026 23:43
@vs-code-engineering vs-code-engineering Bot added this to the 1.120.0 milestone May 7, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Jun 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants