From 8b14b6a9f04ea2a4bb20927a8aeafe40013867a0 Mon Sep 17 00:00:00 2001 From: Luke Jang <125160399+wkdghdus@users.noreply.github.com> Date: Wed, 18 Dec 2024 04:33:35 +0900 Subject: [PATCH] docs: removed redundant import from the example (#2794) there were two same import "from langchain_openai import ChatOpenAI" --- docs/docs/how-tos/multi-agent-multi-turn-convo.ipynb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/docs/how-tos/multi-agent-multi-turn-convo.ipynb b/docs/docs/how-tos/multi-agent-multi-turn-convo.ipynb index 6ec8059bd..7ffc7a759 100644 --- a/docs/docs/how-tos/multi-agent-multi-turn-convo.ipynb +++ b/docs/docs/how-tos/multi-agent-multi-turn-convo.ipynb @@ -40,7 +40,7 @@ " \"content\": user_input,\n", " }]\n", " },\n", - " goto=active_agent,\n", + " goto=active_agent,)\n", "\n", "def agent(state) -> Command[Literal[\"agent\", \"another_agent\", \"human\"]]:\n", " # The condition for routing/halting can be anything, e.g. LLM tool call / structured output, etc.\n", @@ -140,7 +140,6 @@ "\n", "from langchain_openai import ChatOpenAI\n", "from langchain_core.messages import AnyMessage\n", - "from langchain_openai import ChatOpenAI\n", "from langgraph.graph import MessagesState, StateGraph, START, END\n", "from langgraph.types import Command, interrupt\n", "from langgraph.checkpoint.memory import MemorySaver\n",