Skip to content

Test: Session-level token usage data #322128

@cwebster-99

Description

@cwebster-99

Refs: #315283

Complexity: 3

Authors: @lramos15

Create Issue

Create Issue


VS Code now surfaces session-level token usage, similar to the Copilot CLI's /usage. This supplements the existing per-turn credit consumption and context-window indicators to give a fuller picture of what a chat session has consumed.

Task

Validate that session-level token usage is reported and is accurate.

  • Start a new agent/chat session and run several turns.
  • Open the session token usage view and confirm:
    • Total session token consumption is shown and increases as turns are added
    • The session-level numbers are consistent with the per-turn credit / context-window info already shown
  • Confirm the data resets / starts fresh for a new session.
  • Try across model configurations (different context sizes / reasoning efforts) and verify the usage view still behaves correctly.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions