mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-01 08:03:43 +00:00
* fix(ui): roll formatTokens over to "M" instead of rendering "1000k" formatTokens picks the kilo branch on the raw value (< 1_000_000), then renders Math.round(tokens/1000). For 999_500..999_999 that rounds to 1000, producing the nonsensical "1000k" instead of rolling over to the M branch. Re-check the rounded kilo value and fall through to "M" when it reaches 1000, matching the sibling formatCompactTokenCount. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * ci: retry — server-startup-session-migration timeout is main-branch flake, unrelated to formatTokens --------- Co-authored-by: ly-wang19 <ly-wang19@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>