don't restart after interrupt
This commit is contained in:
@@ -149,6 +149,9 @@ func (m *Manager) DeliverLead(ctx context.Context, owner string) error {
|
||||
}
|
||||
|
||||
batch, actor, text, images := nextLeadTurn(inputs)
|
||||
if batch[0].Kind == store.LeadSignal && m.interrupted(sess.Id) {
|
||||
return nil
|
||||
}
|
||||
if batch[0].Kind == store.LeadSignal {
|
||||
state, err := m.leadStateText(ctx, owner)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user