Revert "Fix UBB model details in Copilot CLI (#316452)" (#316698)#317022
Merged
Conversation
lszomoru
approved these changes
May 18, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Reverts commit a1803b2a0c88b4a22ff83262b132cca1befc0886, rolling back Copilot CLI model “UBB details” changes by removing Copilot CLI model pricing/category fields and restoring the Copilot dependency version used before that commit.
Changes:
- Revert
@github/copilotdependency back to1.0.39(and update lockfile accordingly). - Remove Copilot CLI model pricing metadata plumbing (
priceCategory, token costs) and the related normalization helper. - Simplify price-category labeling in the chat model picker (unknown categories no longer produce a fallback label) and adjust the Copilot CLI SDK binary allowlist test to match the reverted SDK contents.
Show a summary per file
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.ts | Reverts price-category labeling behavior to only recognize known tiers and otherwise return undefined. |
| extensions/copilot/src/extension/chatSessions/copilotcli/vscode-node/test/copilotCLISDKUpgrade.spec.ts | Reverts/updates the known-native-binaries allowlist to align with the downgraded Copilot package contents. |
| extensions/copilot/src/extension/chatSessions/copilotcli/node/copilotCli.ts | Removes Copilot CLI model pricing/category fields and associated token-pricing normalization logic. |
| extensions/copilot/package.json | Downgrades @github/copilot from 1.0.48 to 1.0.39. |
| extensions/copilot/package-lock.json | Lockfile updates consistent with the @github/copilot@1.0.39 downgrade (including platform packages). |
Copilot's findings
Files not reviewed (1)
- extensions/copilot/package-lock.json: Language not supported
- Files reviewed: 4/5 changed files
- Comments generated: 0
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.
This reverts commit a1803b2.