anthropics / anthropics/claude-code

total_tokens counter reset from 14.6M to 15M after a user interrupt

Aperta
#94,339 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:core duplicate platform:macos
Lingua principale
Python
Stelle
145k
Fork
23.1k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

**What happened**
The total_tokens indicator shown to the model read 14,601,730 before the user interrupted and 15,000,000 on the next turn. The running spend the model sees, and quoted to the user, is not reliable across an interrupt.

**What the user said**
"even if I need to burn my weekly allowance to get there"

**Repro**
Observe the counter across a user interrupt.

**Environment:** Claude Code CLI 2.1.270 (Claude Code), macOS, auto mode, model claude-fable-5-1, session of 2026-09-14.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.