Skip to main content
Use HITL when a step encounters an error, with streaming execution for real-time event updates.
error_retry_skip_streaming.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Run the example

Save the code above as error_retry_skip_streaming.py, then run:
Full source: cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py