From e692ae89441dead6989faf8a3af5c23623618a7d Mon Sep 17 00:00:00 2001 From: LawyZheng Date: Wed, 26 Nov 2025 14:23:41 +0800 Subject: [PATCH] file download block should not trigger parallel check (#4100) --- skyvern/forge/agent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skyvern/forge/agent.py b/skyvern/forge/agent.py index a7e62a1c..7c07c5dc 100644 --- a/skyvern/forge/agent.py +++ b/skyvern/forge/agent.py @@ -4013,11 +4013,13 @@ class ForgeAgent: ) -> tuple[bool | None, Step | None, Step | None]: # Check if parallel verification should be used # Only use it when we have the required data AND when verification would normally happen + task_completes_on_download = task_block and task_block.complete_on_download and task.workflow_run_id should_verify = ( complete_verification and not step.is_goal_achieved() and not step.is_terminated() and not isinstance(task_block, ActionBlock) + and not task_completes_on_download and (task.navigation_goal or task.complete_criterion) )