Skip to content

Revert "Fix UBB model details in Copilot CLI (#316452)" (#316698)#317022

Merged
sandy081 merged 1 commit into
release/1.121from
sandy081/costly-scallop
May 18, 2026
Merged

Revert "Fix UBB model details in Copilot CLI (#316452)" (#316698)#317022
sandy081 merged 1 commit into
release/1.121from
sandy081/costly-scallop

Conversation

@sandy081
Copy link
Copy Markdown
Member

This reverts commit a1803b2.

This reverts commit a1803b2.

Co-authored-by: Paul <paul_wang347@hotmail.com>
Co-authored-by: Sandeep Somavarapu <sasomava@microsoft.com>
Copilot AI review requested due to automatic review settings May 18, 2026 13:29
@sandy081 sandy081 enabled auto-merge (squash) May 18, 2026 13:29
@sandy081 sandy081 self-assigned this May 18, 2026
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

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/copilot dependency back to 1.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

@sandy081 sandy081 merged commit 553c727 into release/1.121 May 18, 2026
29 checks passed
@sandy081 sandy081 deleted the sandy081/costly-scallop branch May 18, 2026 13:55
@vs-code-engineering vs-code-engineering Bot added this to the 1.121.0 milestone May 18, 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.

4 participants