Give each workflow run a parent task with no agent
This commit is contained in:
@@ -110,7 +110,7 @@ func (m *Manager) taskGuidance(ctx context.Context, task api.Task) (string, erro
|
||||
g += fmt.Sprintf("\n- This task was started from the item %q in %s at the repo root. When the work is done, remove that item from %s in this worktree, so the removal lands in the same merge as the work.",
|
||||
*task.TodoItem, todo.File, todo.File)
|
||||
}
|
||||
if task.ParentTaskId != nil {
|
||||
if task.ParentTaskId != nil && task.WorkflowStage == nil {
|
||||
parent, err := m.store.GetTask(ctx, *task.ParentTaskId)
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
||||
Reference in New Issue
Block a user