Repository navigation
Fix comparison model picker details - #341601
Merged
Merged
Conversation
Logan Ramos (lramos15)
previously approved these changes
Oct 14, 2026
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Editing a noncurrent model through comparison Details clears comparison state and selects a single model.
1 open finding
What changed in this PR
Restores normal model details during comparison selection and makes the composer hover describe the committed comparison.
Changes:
- Reuses model badges, configuration readouts, Details actions, and accessibility metadata.
- Shows the comparison summary in the composer hover.
- Adds focused browser regression coverage.
| File | Description |
|---|---|
src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerTabbedWidget.test.ts |
Checks comparison row details and accessibility metadata. |
src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerActionItem.test.ts |
Tests the committed comparison hover. |
src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerTabbedWidget.ts |
Shares detailed row rendering with comparison selection. |
src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerActionItem.ts |
Uses the workflow summary in hover text. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Preserve model badges, effective configuration details, and accessibility metadata while configuring comparison workflows. Describe committed comparisons in the composer hover instead of showing one underlying model. Co-authored-by: Copilot <[email protected]> Copilot-Session: 5f2f1f6e-e1d6-4baa-a0ac-d60c48f5edd2
Allow comparison Details to save model configuration without selecting that model as the chat's single model. Keep direct model and speed-variant choices using the existing selection behavior. Co-authored-by: Copilot <[email protected]> Copilot-Session: 5f2f1f6e-e1d6-4baa-a0ac-d60c48f5edd2
Megan Rogge (meganrogge)
force-pushed
the
agents/triage-339373
branch
from
October 14, 2026 18:25
f01d059 to
db05f8b
Compare
Dmitriy Vasyura (dmitrivMS)
approved these changes
Oct 14, 2026
Megan Rogge (meganrogge)
enabled auto-merge (squash)
October 14, 2026 19:37
2 tasks done
This was referenced Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Fixes #339904
Fixes #339905
Testing
npm run compile-clientnpm run test-browser-no-install -- --run src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerTabbedWidget.test.ts --run src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerActionItem.test.ts --browser chromium