don't restart after interrupt
This commit is contained in:
@@ -1245,11 +1245,15 @@ func (m *Manager) afterTurn(ctx context.Context, l *live) {
|
||||
m.startDiscard(l.taskID)
|
||||
return
|
||||
}
|
||||
m.deliverTeam(ctx, l)
|
||||
if m.interrupted(l.id) {
|
||||
m.logUndelivered(ctx, l.id, "turn was interrupted")
|
||||
return
|
||||
}
|
||||
err = m.Deliver(ctx, l.id)
|
||||
if err != nil {
|
||||
slog.Error("deliver inbox responses", "session", l.id, "err", err)
|
||||
}
|
||||
m.deliverTeam(ctx, l)
|
||||
}
|
||||
|
||||
func commitMessage(res endResult) string {
|
||||
|
||||
Reference in New Issue
Block a user