From 7e8eef88ca21c71d9f4194fda7100a25061dd9eb Mon Sep 17 00:00:00 2001 From: Vadym Barda Date: Wed, 20 Nov 2024 14:36:42 -0500 Subject: [PATCH] docs: small fix for tutorial (#2487) --- docs/docs/tutorials/multi_agent/agent_supervisor.ipynb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/docs/tutorials/multi_agent/agent_supervisor.ipynb b/docs/docs/tutorials/multi_agent/agent_supervisor.ipynb index d7952e990..c1b8d1231 100644 --- a/docs/docs/tutorials/multi_agent/agent_supervisor.ipynb +++ b/docs/docs/tutorials/multi_agent/agent_supervisor.ipynb @@ -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",