My graph is:
A → B → C → D → E
⬆️
error in C
my code snippets
global task
async with AsyncSqliteSaver.from_conn_string("checkpoints.db") as memory:
checkpoint_tuple =await memory.aget_tuple({"configurable": {"thread_id": task["id"]}})
checkpoint = checkpoint_tuple.checkpoint if checkpoint_tuple else None
if checkpoint:
print(f"Restore checkpoint: {checkpoint['id']}")
else:
print("No checkpoint was found. The execution will start from the beginning.")
config: RunnableConfig = {"configurable": {"thread_id": task["id"], "checkpoint_ns": "",'checkpoint_id': checkpoint["id"]},"callbacks": [langfuse_handler]}
msg = builder_create_report.compile(
name="report generation", checkpointer=memory
).astream(
state,config,context=Context(model="Qwen3-Coder-480B-A35B-Instruct"),
# stream_mode="messages"
)
I want to recover from the mistakes and continue to proceed (since the errors are sporadic).
The current situation I’m facing is that when the checkpointer saves at point B, and I restart the graph anew, the graph will not continue from point B or point C, but will start anew from point A. Could it be that the design of langgraph is exactly as it is, or is there something wrong with my configuration? My version of Langgraph is V0.6.5.
Gratitude !!
Replenish:
When I checked at the breakpoint, the status was normally read up to the end of point B.