don't review on interrupt
This commit is contained in:
@@ -1174,7 +1174,7 @@ func (m *Manager) turnEnded(ctx context.Context, l *live, res endResult) error {
|
||||
}
|
||||
unlock()
|
||||
|
||||
held := len(l.subagents) > 0
|
||||
held := len(l.subagents) > 0 || interrupted
|
||||
turn := m.event(l, agentActor, "turn.ended", payload)
|
||||
next, finalizeBy, err := m.store.EndTurn(ctx, l.id, agentActor, nil, &turn, review && !held, finished && !handoff)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user