Keep the handoff continuation message when its turn is folded away

This commit is contained in:
Ian Gulliver
2026-10-15 11:16:50 -07:00
parent d83212d46b
commit 3fe0374ac5
7 changed files with 25 additions and 5 deletions
+3
View File
@@ -592,6 +592,9 @@ func (m *Manager) message(ctx context.Context, l *live, actor, text string, imag
if compacting {
payload["handoff"] = true
}
if isContinuation(actor, text) {
payload["continuation"] = true
}
err := m.emit(ctx, l, actor, "user.message", payload)
if err != nil {
return err