mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-21 23:22:27 +02:00
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com> Co-authored-by: Tat Dat Duong <david@duong.cz>
807 B
807 B
MULTIPLE_SUBGRAPHS
You are calling subgraphs multiple times within a single LangGraph node with checkpointing enabled for each subgraph.
This is currently not allowed due to internal restrictions on how checkpoint namespacing for subgraphs works.
Troubleshooting
The following may help resolve this error:
:::python
- If you don't need to interrupt/resume from a subgraph, pass
checkpointer=Falsewhen compiling it like this:.compile(checkpointer=False):::
:::js
-
If you don't need to interrupt/resume from a subgraph, pass
checkpointer: falsewhen compiling it like this:.compile({ checkpointer: false })::: -
Don't imperatively call graphs multiple times in the same node, and instead use the
SendAPI.