Skip to content

Add exp setting to force low reasoning effort on Gemini 3 models#319489

Merged
vijayupadya merged 1 commit into
mainfrom
vijayu/reasoning-gemini
Jun 2, 2026
Merged

Add exp setting to force low reasoning effort on Gemini 3 models#319489
vijayupadya merged 1 commit into
mainfrom
vijayu/reasoning-gemini

Conversation

@vijayupadya
Copy link
Copy Markdown
Contributor

Add exp setting to force low reasoning effort on Gemini 3 models

Copilot AI review requested due to automatic review settings June 2, 2026 01:11
Copy link
Copy Markdown
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

Adds an experiment-gated setting that forces reasoning_effort: 'low' on Gemini 3 models when sending CAPI requests.

Changes:

  • New EnableGemini3LowReasoningEffort experiment-based config (default off).
  • customizeCapiBody sets body.reasoning_effort = 'low' for gemini-3 family when the experiment is enabled.
  • Adds package.json contribution and NLS string for the new setting.
Show a summary per file
File Description
extensions/copilot/src/platform/endpoint/node/chatEndpoint.ts Applies low reasoning effort when experiment enabled for Gemini 3.
extensions/copilot/src/platform/configuration/common/configurationService.ts Defines new experiment-based ConfigKey.
extensions/copilot/package.json Registers the new experimental setting.
extensions/copilot/package.nls.json Adds localized description for the new setting.

Copilot's findings

  • Files reviewed: 4/4 changed files
  • Comments generated: 0

@vijayupadya vijayupadya marked this pull request as ready for review June 2, 2026 01:15
@vijayupadya vijayupadya enabled auto-merge (squash) June 2, 2026 01:15
@vijayupadya vijayupadya merged commit 39a8e09 into main Jun 2, 2026
26 checks passed
@vijayupadya vijayupadya deleted the vijayu/reasoning-gemini branch June 2, 2026 03:28
@vs-code-engineering vs-code-engineering Bot added this to the 1.124.0 milestone Jun 2, 2026
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