Skip to content

Commit

Permalink
docs: removed redundant import from the example (#2794)
Browse files Browse the repository at this point in the history
there were two same import
"from langchain_openai import ChatOpenAI"
  • Loading branch information
wkdghdus authored Dec 17, 2024
1 parent fc5d919 commit 8b14b6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/docs/how-tos/multi-agent-multi-turn-convo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 8b14b6a

Please sign in to comment.