docs(multi_agent.md) : Fix some code snippets (#3565)

Hey buddy! You forgot to import the `Command` in some code snippets.
This commit is contained in:
HackHuang
2025-02-24 13:28:56 -05:00
committed by GitHub
parent fb28aa6d4b
commit f7d9daa4eb
+2
View File
@@ -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()