Skip to content

Agent Debug Logs stats resets #316190

@mafshin

Description

@mafshin

Having a long running session for hours, the stats keep increasing and as soon as I go back to the list of session and open the session again, all the numbers reset back to a much lower number including tool calls, input and output tokens.

This happened to my session 3-4 times and I don't have the correct token usage any more

  • VS Code Version: 1.119
  • OS Version: Win11
  • Selected model: Opus 4.6

Steps to Reproduce:

  1. Start a complex session like refactoring or porting
  2. When the tokens reached +50M go back to session list
  3. Open session again
  4. Numbers are different

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions