docs: removed redundant import from the example (#2794)

there were two same import
"from langchain_openai import ChatOpenAI"
This commit is contained in:
Luke Jang
2024-12-17 14:33:35 -05:00
committed by GitHub
parent fc5d919aee
commit 8b14b6a9f0
@@ -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",