Skip to content

fix(tui_v3): /status context shows n/a due to nonexistent function name#657

Open
dracpet wants to merge 1 commit into
lsdefine:mainfrom
dracpet:fix/status-ctx-na
Open

fix(tui_v3): /status context shows n/a due to nonexistent function name#657
dracpet wants to merge 1 commit into
lsdefine:mainfrom
dracpet:fix/status-ctx-na

Conversation

@dracpet

@dracpet dracpet commented Jul 3, 2026

Copy link
Copy Markdown

context_chars_used doesn't exist in cost_trackerAttributeError silently caught → always falls back to 'n/a'.

Also cap*3 double-multiplies since context_window_chars already returns ctx_win*3.

Both other call sites (lines 2341, 4327) already use current_input_chars correctly.

context_chars_used doesn't exist in cost_tracker → AttributeError
silently caught → always falls back to 'n/a'. Also cap*3 double-
multiplies since context_window_chars already returns ctx_win*3.

Co-Authored-By: GenericAgent <bot@gaagent.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant