docs: small fix for tutorial (#2487)

This commit is contained in:
Vadym Barda
2024-11-20 14:36:42 -05:00
committed by GitHub
parent e3e63c70c9
commit 7e8eef88ca
@@ -158,7 +158,6 @@
"from typing_extensions import TypedDict\n",
"\n",
"from langchain_anthropic import ChatAnthropic\n",
"from langgraph.graph import MessagesState\n",
"\n",
"members = [\"researcher\", \"coder\"]\n",
"# Our team supervisor is an LLM node. It just picks the next agent to process\n",
@@ -253,7 +252,7 @@
" }\n",
"\n",
"\n",
"builder = StateGraph(MessagesState)\n",
"builder = StateGraph(AgentState)\n",
"builder.add_edge(START, \"supervisor\")\n",
"builder.add_node(\"supervisor\", supervisor_node)\n",
"builder.add_node(\"researcher\", research_node)\n",