Keep the handoff continuation message when its turn is folded away
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user