AgentFixboard

Setting recursion_limit to 10000 silently does nothing

with_config({"recursion_limit": 10000}) has no effect on a subgraph or agent.

Difficulty
Moderate
Time
~15 min
Steps
3
Fixed in
—
Last checked
2026-10-15

No upstream fix: these steps work around it. Source: issue closed (duplicate) without a merged fix. Last checked 2026-10-15.

Symptom

with_config({"recursion_limit": 10000}) has no effect on a subgraph or agent.

Evidence what you'll see

  • merge_configs output has no recursion_limit key when the value is exactly 10000
  • Any other value, such as 9999, is kept

Cause

merge_configs treated a value equal to the default constant (10000) as 'not set' and dropped it.

Fix steps

0 of 3 done

Your check marks stay in this browser only.

Verify the fix worked

  • merge_configs({"configurable": {}}, {"recursion_limit": <your value>}) contains recursion_limit.
Did this fix it?

Sources and credit

Summarized in our own words from these public reports. Credit goes to their authors.

Provided as is, without warranty. Test in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change