HumanReview.
Start Confirmation
Whenrequires_confirmation=True, the loop pauses before executing:
- Confirm: Execute the loop iterations
- Reject: Skip the entire loop
Parameters
Loop Behavior
The confirmation happens once before the loop starts. Individual iterations do not pause for confirmation. For per-iteration pauses, see Iteration Review.Iteration Review
Setrequires_iteration_review=True to pause between loop iterations. After each iteration completes, the workflow pauses for human review. The reviewer can accept the result (stopping the loop) or reject to run another iteration.
Iteration Review Parameters
Iteration Review Behavior
Iteration review requirements appear in
run_output.steps_requiring_output_review, the same property used for step output review.
requires_iteration_review is only supported on Loop. Passing it to Step or Router raises a ValueError.With should_continue
Theshould_continue function controls iteration. Confirmation happens before any iteration: