mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-17 21:25:46 +02:00
fix: plan execute example response state (#303)
This commit is contained in:
@@ -398,7 +398,7 @@
|
||||
"\n",
|
||||
"\n",
|
||||
"def should_end(state: PlanExecute):\n",
|
||||
" if state[\"response\"]:\n",
|
||||
" if \"response\" in state and state[\"response\"]:\n",
|
||||
" return True\n",
|
||||
" else:\n",
|
||||
" return False"
|
||||
|
||||
Reference in New Issue
Block a user