Update rag_langgraph.py
Browse files- rag_langgraph.py +2 -2
rag_langgraph.py
CHANGED
@@ -133,13 +133,13 @@ def run_multi_agent(prompt):
|
|
133 |
for s in graph.stream(
|
134 |
{
|
135 |
"messages": [
|
136 |
-
HumanMessage(content=
|
137 |
]
|
138 |
}
|
139 |
):
|
140 |
if "__end__" not in s:
|
141 |
print(s)
|
142 |
-
result
|
143 |
print("----")
|
144 |
|
145 |
return result
|
|
|
133 |
for s in graph.stream(
|
134 |
{
|
135 |
"messages": [
|
136 |
+
HumanMessage(content="Code hello world and print it to the terminal")
|
137 |
]
|
138 |
}
|
139 |
):
|
140 |
if "__end__" not in s:
|
141 |
print(s)
|
142 |
+
result = str(s)
|
143 |
print("----")
|
144 |
|
145 |
return result
|