This commit is contained in:
Ian Gulliver
2026-10-20 22:02:59 -07:00
parent ccbbb5807f
commit 57324fe9a2
5 changed files with 31 additions and 53 deletions
+20
View File
@@ -324,3 +324,23 @@ func (p antigravityProcess) drive(m *Manager, l *live) {
}
}
}
func (m *Manager) continueProseQuestion(ctx context.Context, l *live, p agentProcess, final string, success bool) (bool, error) {
if !success || !l.implementer() {
return false, nil
}
bounce, err := m.takeBounce(ctx, l, final)
if err != nil || !bounce {
return false, err
}
m.mu.Lock()
l.lastText = ""
m.mu.Unlock()
go func() {
err := p.send(context.Background(), proseQuestionNudge, nil)
if err != nil {
slog.Error("send prose question nudge", "session", l.id, "err", err)
}
}()
return true, nil
}