stats should also have a section "current session" #49

Closed
opened 2026-07-28 07:06:18 +00:00 by hugo · 1 comment
Owner

the stats pane should have a section for overall data for the current session that also is updated based on a re-hydrated session, so that one can check what happened in one. This should surface quantified facts about the session based on the chat database, so not just overall token and time, but also number of rebuilds if possible and number of messages and tool calls and other stuff like that.

the stats pane should have a section for overall data for the current session that also is updated based on a re-hydrated session, so that one can check what happened in one. This should surface quantified facts about the session based on the chat database, so not just overall token and time, but also number of rebuilds if possible and number of messages and tool calls and other stuff like that.
hugo added the enhancement label 2026-07-28 07:06:18 +00:00
Author
Owner

Implemented in 07c8909. The Stats dashboard now includes a Current Session section derived from the persisted chat history, so reopened sessions reproduce the same totals. It reports the session title, message breakdown, parsed tool-call count, persisted context rebuilds, completed turns, cumulative generation time, input/cached/output tokens, and cache-reuse percentage. This is a DS4Server-only observability feature; DS4 has no corresponding stats pane. Verified with a focused persisted-chat summary test and the full commit gates: rustfmt, Clippy with warnings denied, app bundle, and all-feature tests (150 passed, 12 hardware/model tests ignored).

Implemented in 07c8909. The Stats dashboard now includes a Current Session section derived from the persisted chat history, so reopened sessions reproduce the same totals. It reports the session title, message breakdown, parsed tool-call count, persisted context rebuilds, completed turns, cumulative generation time, input/cached/output tokens, and cache-reuse percentage. This is a DS4Server-only observability feature; DS4 has no corresponding stats pane. Verified with a focused persisted-chat summary test and the full commit gates: rustfmt, Clippy with warnings denied, app bundle, and all-feature tests (150 passed, 12 hardware/model tests ignored).
hugo closed this issue 2026-07-28 17:04:42 +00:00
Sign in to join this conversation.