Skip to main content
Each iteration receives the previous iteration’s output via step_input.get_last_step_content(), enabling iterative processing patterns like accumulation, refinement, and convergence. This example increments a numeric value by 10 each iteration, stopping when it reaches 50 or more.
loop_iterative_accumulation.py