Making ValidationBlock not count towards max_steps check (#3540)

This commit is contained in:
pedrohsdb
2025-09-26 16:02:21 -07:00
committed by GitHub
parent e5020fed4f
commit 1cc492056d

View File

@@ -2204,8 +2204,8 @@ class WorkflowService:
terminate_criterion=block_yaml.terminate_criterion,
error_code_mapping=block_yaml.error_code_mapping,
continue_on_failure=block_yaml.continue_on_failure,
# only need one step for validation block
max_steps_per_run=1,
# Should only need one step for validation block, but we allow 2 in case the LLM has an unexpected failure and we need to retry.
max_steps_per_run=2,
model=block_yaml.model,
)