mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-25 09:02:25 +02:00
docs: small fix for tutorial (#2487)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user