Skip to content

Fix default thinking effort - #328783

Merged
lramos15 merged 4 commits into
mainfrom
lramos15/distinguished-pig
Aug 3, 2026
Merged

Fix default thinking effort#328783
lramos15 merged 4 commits into
mainfrom
lramos15/distinguished-pig

Conversation

@lramos15

@lramos15 lramos15 commented Aug 3, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings August 3, 2026 18:18
@lramos15
lramos15 enabled auto-merge (squash) August 3, 2026 18:18

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 fallback thinking-effort defaults for Agent Host models and avoids rendering undefined picker labels.

Changes:

  • Resolves model-family-specific reasoning defaults.
  • Tests fallback behavior across model families.
  • Hides picker labels without effective values.
Show a summary per file
File Description
modelPickerConfiguration.ts Handles missing configuration values.
copilotAgent.test.ts Tests fallback defaults.
copilotAgent.ts Applies resolved defaults to schemas.
reasoningEffort.ts Adds default-resolution logic.

Review details

  • Files reviewed: 4/4 changed files
  • Comments generated: 3
  • Review effort level: Balanced

Comment thread src/vs/platform/agentHost/common/reasoningEffort.ts
Comment thread src/vs/platform/agentHost/common/reasoningEffort.ts
vritant24
vritant24 previously approved these changes Aug 3, 2026
@lramos15
lramos15 disabled auto-merge August 3, 2026 18:30
- Trim resolveDefaultReasoningEffort JSDoc to the stable contract
- Filter reasoning efforts to launcher-supported levels inside the schema
  helper so unsupported levels are never advertised or chosen as default
- Guarantee a default in the Copilot CLI extension producer via
  pickDefaultReasoningEffort
- Keep the model picker configuration button actionable instead of hiding it

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 88afcac4-196d-4577-b429-b2c5b802bf57
@lramos15 lramos15 added the ~release-cherry-pick Trigger: cherry-pick this PR to the latest release branch label Aug 3, 2026
@vs-code-engineering

Copy link
Copy Markdown
Contributor

This PR will be automatically cherry-picked to release/1.132 when merged.

@lramos15
lramos15 enabled auto-merge (squash) August 3, 2026 19:48
@lramos15
lramos15 merged commit e64d2d1 into main Aug 3, 2026
29 checks passed
@lramos15
lramos15 deleted the lramos15/distinguished-pig branch August 3, 2026 23:51
@vs-code-engineering vs-code-engineering Bot added this to the 1.131.0 milestone Aug 3, 2026
@vs-code-engineering vs-code-engineering Bot added release-cherry-pick Automated cherry-pick between release and main branches and removed ~release-cherry-pick Trigger: cherry-pick this PR to the latest release branch labels Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-cherry-pick Automated cherry-pick between release and main branches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants