From 61f362f16e3088da2d191a28b2814caad0102cd8 Mon Sep 17 00:00:00 2001 From: vbarda Date: Tue, 10 Dec 2024 14:07:08 -0500 Subject: [PATCH] update dynamic breakpoints --- .../how-tos/human_in_the_loop/dynamic_breakpoints.ipynb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/docs/how-tos/human_in_the_loop/dynamic_breakpoints.ipynb b/docs/docs/how-tos/human_in_the_loop/dynamic_breakpoints.ipynb index 9de44a77c..6f0704017 100644 --- a/docs/docs/how-tos/human_in_the_loop/dynamic_breakpoints.ipynb +++ b/docs/docs/how-tos/human_in_the_loop/dynamic_breakpoints.ipynb @@ -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,