From f7d9daa4ebe00f66df3834903d66227bad25a9ba Mon Sep 17 00:00:00 2001 From: HackHuang Date: Tue, 25 Feb 2025 02:28:56 +0800 Subject: [PATCH] docs(multi_agent.md) : Fix some code snippets (#3565) Hey buddy! You forgot to import the `Command` in some code snippets. --- docs/docs/concepts/multi_agent.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/concepts/multi_agent.md b/docs/docs/concepts/multi_agent.md index d6ccb5529..f53d36ff0 100644 --- a/docs/docs/concepts/multi_agent.md +++ b/docs/docs/concepts/multi_agent.md @@ -112,6 +112,7 @@ In this architecture, agents are defined as graph nodes. Each agent can communic ```python from typing import Literal from langchain_openai import ChatOpenAI +from langgraph.types import Command from langgraph.graph import StateGraph, MessagesState, START, END model = ChatOpenAI() @@ -158,6 +159,7 @@ In this architecture, we define agents as nodes and add a supervisor node (LLM) ```python from typing import Literal from langchain_openai import ChatOpenAI +from langgraph.types import Command from langgraph.graph import StateGraph, MessagesState, START, END model = ChatOpenAI()