docs: add forgotten MemorySaver in full code (#3321)

This commit is contained in:
Doros Doru-Lucian
2025-02-05 20:58:17 -05:00
committed by GitHub
parent 04a0443742
commit 6a36f4bf91
+1
View File
@@ -1153,6 +1153,7 @@
")\n",
"graph_builder.add_edge(\"tools\", \"chatbot\")\n",
"graph_builder.set_entry_point(\"chatbot\")\n",
"memory = MemorySaver()\n",
"graph = graph_builder.compile(checkpointer=memory)\n",
"```\n",
"</pre>\n",