Skip to content

Conversation

@shamil2
Copy link
Contributor

@shamil2 shamil2 commented Dec 19, 2025

Fixes #5801. Handles NaN/Infinity values and escapes the percentage symbol.

@shamil2 shamil2 force-pushed the fix-tui-token-percentage branch from 115bcb0 to f4dd650 Compare December 19, 2025 23:44
@rekram1-node
Copy link
Collaborator

The api should be guarenteeing that the values are either 0 or real they shouldn't be Nan ever, I think the fix needs to be done "upstream" as in not in tui code prolly right?

Do u have a session that had this issue? Shoudl help narrow down if u can opencode export > session.json for me?

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.

Tokens use percentage show corrupted in TUI

2 participants