Give each workflow run a parent task with no agent
This commit is contained in:
@@ -182,7 +182,7 @@ func (m *Manager) tryPromptReady(ctx context.Context, taskID string, fromReview
|
||||
if output != "" && len(workflow.Next(frozen.Definition, *task.WorkflowStage)) > 0 {
|
||||
return nil
|
||||
}
|
||||
finished, err := m.store.WorkflowFinished(ctx, *task.WorkflowRun)
|
||||
finished, err := m.store.WorkflowFinished(ctx, *task.ParentTaskId)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user