Revert "Fix UBB model details in Copilot CLI (#316452)"#316698
Open
lramos15 wants to merge 2 commits into
Open
Revert "Fix UBB model details in Copilot CLI (#316452)"#316698lramos15 wants to merge 2 commits into
lramos15 wants to merge 2 commits into
Conversation
This reverts commit a1803b2.
roblourens
approved these changes
May 15, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Reverts the earlier change set that enhanced Copilot CLI model metadata (pricing/category) and updated the bundled @github/copilot dependency, restoring the prior dependency version and associated behaviors.
Changes:
- Reverts
@github/copilotfrom1.0.48back to1.0.39(and updates the lockfile accordingly). - Removes Copilot CLI model metadata fields related to UBB pricing/category (and the associated token pricing normalization).
- Simplifies the model picker’s price-category labeling behavior and adjusts 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 label handling to only recognize known tiers. |
| extensions/copilot/src/extension/chatSessions/copilotcli/vscode-node/test/copilotCLISDKUpgrade.spec.ts | Reverts the expected native-binary inventory to match the downgraded SDK package contents. |
| extensions/copilot/src/extension/chatSessions/copilotcli/node/copilotCli.ts | Reverts Copilot CLI model metadata enrichment (price category + token pricing normalization). |
| extensions/copilot/package.json | Downgrades @github/copilot dependency version. |
| extensions/copilot/package-lock.json | Updates lockfile to reflect the downgraded @github/copilot and 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.