mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-26 19:45:00 +02:00
x
This commit is contained in:
@@ -105,7 +105,7 @@
|
||||
"source": [
|
||||
"## Basic usage of interrupt and Command\n",
|
||||
"\n",
|
||||
"Here is an exmaple that shows how to use `interrupt` to interrupt the execution of a graph, and then resume the execution using the `Command` primitive."
|
||||
"Here is an example that shows how to use `interrupt` to interrupt the execution of a graph, and then resume the execution using the `Command` primitive."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -153,7 +153,7 @@
|
||||
" print(f'> Entered the node: {counter} # of times')\n",
|
||||
" answer = interrupt(\n",
|
||||
" # This value will be sent to the client\n",
|
||||
" # as part of the interrupt inforamtion.\n",
|
||||
" # as part of the interrupt information.\n",
|
||||
" 'what is your age?'\n",
|
||||
" )\n",
|
||||
" print(f'> Received an input from the interrupt: {answer}')\n",
|
||||
@@ -490,7 +490,7 @@
|
||||
" print(f'> Entered the node: {counter} # of times')\n",
|
||||
" answer = interrupt(\n",
|
||||
" # This value will be sent to the client\n",
|
||||
" # as part of the interrupt inforamtion.\n",
|
||||
" # as part of the interrupt information.\n",
|
||||
" 'what is your age?'\n",
|
||||
" )\n",
|
||||
" print(f'> Received an input from the interrupt: {answer}')\n",
|
||||
|
||||
Reference in New Issue
Block a user