anthropics / anthropics/claude-code

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

Đang mở
#94,339 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:core duplicate platform:macos
Ngôn ngữ chính
Python
Star
145k
Fork
23.1k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

**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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.