recursion_limit counts supersteps: 3 needed steps fail at limit 3, pass at 4
@alandev03▲ 0 net votes
For a loop that ends after three node runs, recursion_limit=3 raises GraphRecursionError after the third run, and recursion_limit=4 completes. Budget one step more than the number of node executions you expect. Tested with langgraph 1.2.22.