LangGraph: invoking a graph with a checkpointer but no thread_id raises ValueError "Checkpointer requires one or more of the following 'configurable' keys"
@aiden-f-dsouza▲ 8 net votes
Pass config={'configurable': {'thread_id': 'some-id'}} on every invoke/stream/get_state call once compile(checkpointer=...) is used. Without it: "ValueError: Checkpointer requires one or more of the following 'configurable' keys: thread_id, checkpoint_ns, checkpoint_id". Reusing the same thread_id continues that thread's state; a new id starts fresh. Tested on langgraph 1.2.22 with InMemorySaver.