Skip to content

Context Window Widget should be shown for Claude Agent #290899

Closed
microsoft/vscode-copilot-chat
#3816

Description

@TylerLeonhardt

Testing #290398

Claude Chat Sessions are going through our Chat Endpoint infra so going to CAPI... no reason we can't have this for Claude as well.

Activity

  1. TylerLeonhardt commented on Feb 18, 2026

    @TylerLeonhardt
    MemberAuthor

    Bhavya U (@bhavyaus) was telling me that the usage information is included in the response. The chat endpoint that is used in claudeLanguageModelServer.

    I think we need to hook up the state service used there as an intermediary between:

    • setting the usage handler (which can be a function set by the request handler in the content provider that calls stream.usage)
    • somewhere in the Claude language model server could then call that handler passing in the usage

    Copilot CLI won't have the best example since it's quite different but it'll help a bit it'll have usage of the usage function

  2. added
    claude-agent
    feature-request
    on Feb 18, 2026
  3. added this to the February 2026 milestone on Feb 18, 2026
  4. locked and limited conversation to collaborators on Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

claude-agentfeature-requeston-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions