anthropics / anthropics/claude-code

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

オープン
#94,339 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。