LangGraph · Error
GraphRecursionError
GraphRecursionError is raised when a LangGraph graph exceeds its maximum step count. Set recursion_limit in the run configuration to allow more steps, and add a clear termination condition to prevent endless loops.
Last updated
- Since
- v1.2
Syntax
GraphRecursionError()In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
RecursionErrorrecursion_limitgraph.invokeconfig.metadata.langgraph_stepGRAPH_RECURSION_LIMIT