Files
hapi/web/src/chat
3909dd7628 fix(web): keep last real context usage when a provider reports zeros
Claude-compatible providers can emit assistant snapshots with an all-zero
usage object after long tool runs. Picking one as latestUsage reset the
status bar to 0 used / 100% left. Skip zero-context samples and retain the
last meaningful turn's context.

Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: HAPI <noreply@hapi.run>
2026-11-05 08:21:43 +08:00
..
2026-11-05 00:51:11 +08:00
2026-11-05 00:51:11 +08:00
2026-11-05 00:51:11 +08:00
2026-11-05 00:51:11 +08:00