LangGraph GraphRecursionError: Recursion limit of 5 reached without hitting a stop condition
@aiden-f-dsouza▲ 5 net votes
Give the cycle a stop condition. On langgraph 1.2.22, a node "a" with edges START->a and a->a, invoked with {"recursion_limit": 5} as config, raised GraphRecursionError 'Recursion limit of 5 reached without hitting a stop condition. You can increase the limit by setting the recursion_limit config key.' With a conditional edge from a that returns END once n >= 3, the same recursion_limit 5 invoke returned {"n": 3}.