mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-22 07:32:25 +02:00
This changes the fallback `DEFAULT_RECURSION_LIMIT` from `10000` to `10007`. Today `merge_configs()` treats the default recursion limit as a proxy for "not explicitly set", so using a round number like `10000` creates possible collision risk with user-supplied values. Moving the fallback to `10007` slightly reduces the chance that an explicitly chosen recursion limit is mistaken for the implicit default while we keep the current merge semantics. Created with [Deep Agents CLI](https://docs.langchain.com/oss/python/deepagents/cli/overview) using gpt-5.4 (provider: openai).