diff options
| author | Adam Malczewski <[email protected]> | 2026-06-22 11:37:37 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-22 11:37:37 +0900 |
| commit | 82802a14bc5921c6b62756c3a1a8953c087b5b0d (patch) | |
| tree | 413824bc99b95243d911db95feeb24ae4173f79b /src/features/surface-host | |
| parent | d6f60f4a81d9714176ef3d8cc60938c01c55b7d6 (diff) | |
| download | dispatch-web-82802a14bc5921c6b62756c3a1a8953c087b5b0d.tar.gz dispatch-web-82802a14bc5921c6b62756c3a1a8953c087b5b0d.zip | |
fix(metrics): skip unanchored step-metrics — no more empty bubbles at tail
Step-metrics are only shown when anchored to their tool content (inline
after the tool-call/result group). Steps whose chunks were trimmed (or
text-only steps with no tool chunks) are now SKIPPED instead of piling
up at the segment tail as empty 'step N · X tok' bubbles.
The turn-total metrics row still shows the aggregate (tokens, duration,
cache rate), so the conversation-level summary is preserved.
Updated place.test.ts + ui.test.ts to anchor steps with tool-call groups
where step-metrics are expected.
Diffstat (limited to 'src/features/surface-host')
0 files changed, 0 insertions, 0 deletions
