mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-08 02:37:52 +02:00
update dynamic breakpoints
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user