openclaw/ui
Val Alexander 7c520cc0ea
web UI: fix context notice using accumulated inputTokens instead of prompt snapshot (#51721)
The context-usage banner in the web UI fell back to inputTokens when
totalTokens was missing. inputTokens is accumulated across all API
calls in a run (tool-use loops, compaction retries), so it overstates
actual context window utilization -- e.g. showing "100% context used
757.3k / 200k" when the real prompt snapshot is only 46k/200k (23%).

Drop the inputTokens fallback so the banner only fires when a genuine
prompt snapshot (totalTokens) is available.

Made-with: Cursor
2026-03-21 11:16:32 -05:00
..
public fix: migrate legacy gateway services 2026-01-30 04:01:31 +01:00
src web UI: fix context notice using accumulated inputTokens instead of prompt snapshot (#51721) 2026-03-21 11:16:32 -05:00
index.html UI: add corner radius slider and appearance polish (#49436) 2026-03-17 23:06:01 -05:00
package.json UI: remove dead control UI modules 2026-03-17 23:52:43 -07:00
vite.config.ts feat(ui): dashboard-v2 views refactor (slice 3/3 of dashboard-v2) (#41503) 2026-03-12 12:46:19 -05:00
vitest.config.ts build: update deps and fix vitest 4 regressions 2026-03-13 01:02:00 +00:00
vitest.node.config.ts chore: fix vitest standalone configs and update package description (#11865) 2026-02-08 05:24:50 -08:00