feat(web): display reported chat throughput tokens context and cost
This commit is contained in:
@@ -9,6 +9,9 @@ what is done; this file covers how to run, test and verify it.
|
||||
framework, no bundler, no build step, no npm install.
|
||||
- **Browser-native transport.** The page opens one `WebSocket` to `/connect`,
|
||||
matched by request id, with the same server-URL rules as the Android client.
|
||||
- **Reported chat metrics.** Output tokens/sec, total tokens, context usage/window,
|
||||
and reported USD cost stay visible above the transcript. Unreported metrics are
|
||||
unavailable, not zero or a subscription-price estimate.
|
||||
- **Verified in a real browser.** UI claims are backed by PNGs captured from
|
||||
headless Chrome against a live server (`test/ui-smoke.mjs`); a unit test alone
|
||||
never marks a parity row done.
|
||||
|
||||
Reference in New Issue
Block a user