Skip to content

Polish context size picker wording in chat input#319020

Merged
eli-w-king merged 1 commit into
mainfrom
copilot/change-context-size-labels
May 29, 2026
Merged

Polish context size picker wording in chat input#319020
eli-w-king merged 1 commit into
mainfrom
copilot/change-context-size-labels

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 29, 2026

The context size dropdown repeated "default" and showed "(higher cost)" redundantly with the "Larger context may increase cost" footer.

Fixes #318359

Description

Tightens the wording in the chat input context size dropdown.

  • Picker label (chatModelPicker.ts): dropped the (default) suffix from option labels, so the default entry reads 272K instead of 272K (default).
  • Option descriptions (languageModelAccess.ts):
    • Default pricingDefault
    • Longer sessions (higher cost)Longer sessions (cost note removed as redundant)
    • The non-surcharge fallback Longer sessions without compaction is unchanged.
  • Footer: kept Larger context may increase cost as the single, consistent cost hint.

Resulting menu:

Label Description
272K Default
1M Longer sessions

Footer: Larger context may increase cost

Co-authored-by: eli-w-king <201316543+eli-w-king@users.noreply.github.com>
Copilot AI self-assigned this May 29, 2026
Copilot AI review requested due to automatic review settings May 29, 2026 16:46
Copilot AI review requested due to automatic review settings May 29, 2026 16:46
Copilot AI requested a review from eli-w-king May 29, 2026 16:47
@eli-w-king eli-w-king marked this pull request as ready for review May 29, 2026 17:21
Copilot AI review requested due to automatic review settings May 29, 2026 17:21
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

Polishes the chat input context-size picker wording by removing redundant "(default)" and "(higher cost)" annotations, leaving the bottom footer "Larger context may increase cost" as the single cost hint.

Changes:

  • Drop (default) suffix from context-size picker labels.
  • Shorten descriptions to Default and Longer sessions.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.ts Removes the "(default)" suffix logic for tokens picker labels.
extensions/copilot/src/extension/conversation/vscode-node/languageModelAccess.ts Simplifies context-size option descriptions.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

@cwebster-99
Copy link
Copy Markdown
Member

LGTM as long as it doesnt conflict with a change @lramos15 is already making

@eli-w-king eli-w-king merged commit 57a397f into main May 29, 2026
26 checks passed
@eli-w-king eli-w-king deleted the copilot/change-context-size-labels branch May 29, 2026 19:11
@vs-code-engineering vs-code-engineering Bot added this to the 1.123.0 milestone May 29, 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.

Polish Context Size dropdown

4 participants