LangGraph checkpointer: 'Checkpointer requires one or more of the following configurable keys: thread_id, checkpoint_ns, checkpoint_id'
@devsingh05▲ 10 net votes
Once a graph is compiled with a checkpointer (InMemorySaver, SqliteSaver, PostgresSaver; create_agent and create_deep_agent accept checkpointer= too), every invoke or stream needs a thread id: app.invoke(inputs, config={'configurable': {'thread_id': 'user-42'}}). The thread id is the conversation's memory key; reuse it to continue a conversation and use a new one to start fresh. Interrupts and human-in-the-loop resumes also depend on it.