You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 600762c
Browse filesBrowse the repository at this point in the historyBrowse files
fix(claude): context meter shows the configured auto-compact threshold
The Claude adapter reports usage as provider-turn token usage, which had no threshold field, and the web hardcoded a null threshold for live usage. The meter fell back to "compacts automatically when needed" even with Auto-compact after set.
Carry the configured window on the turn usage, omit it when it is not below the model's context window, and read it in the meter. The tooltip says "about" because Claude triggers a little below the window.
Fixes#18307
0 commit comments