Skip to content

Hide the chat context widget for non-local sessions (background, cloud and other session providers)#289131

Merged
DonJayamanne merged 1 commit intomainfrom
don/chemical-hornet
Jan 20, 2026
Merged

Hide the chat context widget for non-local sessions (background, cloud and other session providers)#289131
DonJayamanne merged 1 commit intomainfrom
don/chemical-hornet

Conversation

@DonJayamanne
Copy link
Copy Markdown
Contributor

@DonJayamanne DonJayamanne commented Jan 20, 2026

Copilot AI review requested due to automatic review settings January 20, 2026 15:36
@DonJayamanne DonJayamanne self-assigned this Jan 20, 2026
@DonJayamanne DonJayamanne marked this pull request as ready for review January 20, 2026 15:36
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 20, 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 hides the chat context usage widget (token usage indicator) for non-local chat sessions such as background, cloud, and other session providers.

Changes:

  • Modified the setModel method to check if a model has a contributedChatSession property before showing the context usage widget

@DonJayamanne DonJayamanne merged commit c302ab7 into main Jan 20, 2026
27 of 28 checks passed
@DonJayamanne DonJayamanne deleted the don/chemical-hornet branch January 20, 2026 16:43
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Mar 6, 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