You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Context Window Widget should be shown for Claude Agent #290899
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
Activity
TylerLeonhardt commentedon Feb 18, 2026
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:
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