summaryrefslogtreecommitdiffhomepage
path: root/GLOSSARY.md
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-22 13:01:13 +0900
committerAdam Malczewski <[email protected]>2026-06-22 13:01:13 +0900
commitaf90ddec7e57fc89eb4db36c003dbb97d44d9f0f (patch)
tree76f08262bf5058b9fda59f0b3f1c4f88976e978f /GLOSSARY.md
parent5066aad92282068dfd3ce5e1bf87164264618cfe (diff)
downloaddispatch-web-af90ddec7e57fc89eb4db36c003dbb97d44d9f0f.tar.gz
dispatch-web-af90ddec7e57fc89eb4db36c003dbb97d44d9f0f.zip
fix(metrics): show turn/step metrics for compacted conversations
Compacted conversations start with a system summary (role: "system") instead of a user message (role: "user"). The interleaveTurnMetrics function only detected segments by role === "user", so compacted conversations got zero segments and no metrics were emitted. Fix: when no user messages are found but metrics entries exist, treat the entire transcript as one segment. This places turn-metrics at the end and anchors step-metrics to any tool-batch groups by stepId. 686 tests green.
Diffstat (limited to 'GLOSSARY.md')
0 files changed, 0 insertions, 0 deletions