diff options
| author | Adam Malczewski <[email protected]> | 2026-06-22 12:17:08 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-22 12:17:08 +0900 |
| commit | d7d3ac7a20815b1890ee7142dcc51e5e6d2dda03 (patch) | |
| tree | 78b7b0ca2ce95a0d09ee05924a5fae86b6b40f2b /src/features/smart-scroll | |
| parent | 5d47c500b2a313c9f09a6d8564007a0426de5f22 (diff) | |
| download | dispatch-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/smart-scroll')
0 files changed, 0 insertions, 0 deletions
