anthropics / anthropics/claude-code
total_tokens counter reset from 14.6M to 15M after a user interrupt
未关闭
area:core
duplicate
platform:macos
- 主要语言
- Python
- 星标
- 145k
- 派生
- 23.1k
- PR 合并指标
- PR 指标待抓取
描述
**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.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。