Collapse handoff turns in the transcript instead of streaming them

This commit is contained in:
Ian Gulliver
2026-10-15 10:30:24 -07:00
parent c777409dc1
commit e0d292fd75
7 changed files with 85 additions and 31 deletions
+3
View File
@@ -587,6 +587,9 @@ func TestCompactCarriesHandoff(t *testing.T) {
t.Fatalf("handoff turn.ended %v: want handoff and no inbox summary", ev.Payload)
}
}
if ev.Kind == "user.message" && ev.Actor == "byre" && *ev.AgentSessionId == old.Id && ev.Payload["handoff"] != true {
t.Fatalf("handoff prompt %v: want handoff flag", ev.Payload)
}
}
sessions, err := e.store.ListSessions(e.ctx, e.task.Id)