Skip to content

Advertise full context rather than just prompt#294696

Merged
lramos15 merged 1 commit intomainfrom
lramos15/exceptional-dingo
Feb 11, 2026
Merged

Advertise full context rather than just prompt#294696
lramos15 merged 1 commit intomainfrom
lramos15/exceptional-dingo

Conversation

@lramos15
Copy link
Copy Markdown
Member

Copilot AI review requested due to automatic review settings February 11, 2026 21:43
@lramos15 lramos15 enabled auto-merge (squash) February 11, 2026 21:43
@lramos15 lramos15 self-assigned this Feb 11, 2026
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 11, 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

This PR updates the chat “context usage” UI to represent the full context window (input + output) rather than only prompt/input tokens, aligning the displayed usage with a model’s total context capacity.

Changes:

  • Removes now-redundant chat agent usage interfaces from chatAgents.ts.
  • Updates ChatContextUsageWidget to base the displayed percentage on (maxInputTokens + maxOutputTokens).
  • Updates ChatContextUsageDetails to display total context window values, improves token count formatting, and filters very small breakdown rows.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/vs/workbench/contrib/chat/common/participants/chatAgents.ts Removes unused/duplicated usage interfaces.
src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.ts Computes context usage against full context window (input + output).
src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.ts Updates details UI to match new “full context window” semantics; adds formatting/filtering tweaks.

@lramos15 lramos15 merged commit c4f5414 into main Feb 11, 2026
23 of 24 checks passed
@lramos15 lramos15 deleted the lramos15/exceptional-dingo branch February 11, 2026 22:24
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Mar 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants