summaryrefslogtreecommitdiffhomepage
path: root/src/features
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-22 12:17:08 +0900
committerAdam Malczewski <[email protected]>2026-06-22 12:17:08 +0900
commitd7d3ac7a20815b1890ee7142dcc51e5e6d2dda03 (patch)
tree78b7b0ca2ce95a0d09ee05924a5fae86b6b40f2b /src/features
parent5d47c500b2a313c9f09a6d8564007a0426de5f22 (diff)
downloaddispatch-web-d7d3ac7a20815b1890ee7142dcc51e5e6d2dda03.tar.gz
dispatch-web-d7d3ac7a20815b1890ee7142dcc51e5e6d2dda03.zip
fix(metrics): preserve turn-metrics for trimmed turns
When the chat limit unloads a turn's content (user message + chunks), the segment disappears and the turn-metrics row was lost. Now unmatched entries (fully trimmed turns) emit a standalone turn-metrics row at the top of the transcript, so the user still sees 'turn N · X tok' for unloaded turns. Note: trimming during generation only affects COMMITTED chunks (old turns). Provisional chunks (the in-flight turn) are never trimmed — the big trim happens at seal when provisional → committed. This is by design.
Diffstat (limited to 'src/features')
0 files changed, 0 insertions, 0 deletions