update dynamic breakpoints

This commit is contained in:
vbarda
2024-12-10 14:07:08 -05:00
parent 77fe51fbe4
commit 61f362f16e
@@ -6,7 +6,11 @@
"id": "b7d5f6a5-9e59-43e4-a4b6-8ada6dace691",
"metadata": {},
"source": [
"# How to add dynamic breakpoints\n",
"# How to add dynamic breakpoints with `NodeInterrupt`\n",
"\n",
"!!! note\n",
"\n",
" Current recommended way to add dynamic breakpoints is using [`interrupt()`][langgraph.types.interrupt] API. See this [how-to guide](../interrupt) to learn more.\n",
"\n",
"!!! tip \"Prerequisits\"\n",
"\n",
@@ -22,6 +26,7 @@
"\n",
"This guide shows how you can dynamically interrupt the graph using `NodeInterrupt` -- a special exception that can be raised from inside a node. Let's see it in action!\n",
"\n",
"\n",
"## Setup\n",
"\n",
"First, let's install the required packages"
@@ -433,7 +438,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.12.3"
}
},
"nbformat": 4,