User-Controlled Branching
Whenrequires_confirmation=True, the condition pauses for user decision:
- Confirm: Execute the
stepsbranch (if branch) - Reject: Behavior depends on
on_rejectsetting
Parameters
OnReject Options
Branch Execution
Without else_steps
If noelse_steps are defined and user rejects with on_reject=OnReject.else_branch, the condition is skipped:
Combining with Evaluator
Whenrequires_confirmation=True, the evaluator is ignored. The user’s decision takes precedence: