Update langgraph
Browse files
langgraph
CHANGED
@@ -8,7 +8,6 @@ from langchain_core.messages import (
|
|
8 |
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
|
9 |
from langgraph.graph import END, StateGraph
|
10 |
|
11 |
-
|
12 |
def create_agent(llm, tools, system_message: str):
|
13 |
"""Create an agent."""
|
14 |
prompt = ChatPromptTemplate.from_messages(
|
@@ -181,4 +180,7 @@ events = graph.stream(
|
|
181 |
)
|
182 |
for s in events:
|
183 |
print(s)
|
184 |
-
print("----")
|
|
|
|
|
|
|
|
8 |
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
|
9 |
from langgraph.graph import END, StateGraph
|
10 |
|
|
|
11 |
def create_agent(llm, tools, system_message: str):
|
12 |
"""Create an agent."""
|
13 |
prompt = ChatPromptTemplate.from_messages(
|
|
|
180 |
)
|
181 |
for s in events:
|
182 |
print(s)
|
183 |
+
print("----")
|
184 |
+
|
185 |
+
def run_multi_agent():
|
186 |
+
return "DONE"
|