opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: corrupted token percentage in TUI

Open shamil2 opened this issue 1 month ago • 1 comments

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

shamil2 avatar Dec 19 '25 23:12 shamil2

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?

rekram1-node avatar Dec 20 '25 03:12 rekram1-node