Skip to content

Commit 6679e12

Browse files
committed
fix: prevent double pushToolResult when delegation retry fails
1 parent 8d42140 commit 6679e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/tools/AttemptCompletionTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export class AttemptCompletionTool extends BaseTool<"attempt_completion"> {
233233
`Delegation to parent task failed: ${error instanceof Error ? error.message : String(error)}. Completing as standalone task.`,
234234
),
235235
)
236-
return false
236+
return true
237237
}
238238
}
239239

0 commit comments

Comments
 (0)