Spaces:
Sleeping
Sleeping
Upload agent.py
Browse files
agent.py
CHANGED
|
@@ -282,7 +282,7 @@ def test_graph():
|
|
| 282 |
if __name__ == "__main__":
|
| 283 |
question = "When was a picture of St. Thomas Aquinas first added to the Wikipedia page on the Principle of double effect?"
|
| 284 |
|
| 285 |
-
graph = test_graph(
|
| 286 |
|
| 287 |
messages = [HumanMessage(content=question)]
|
| 288 |
messages = graph.invoke({"messages": messages})
|
|
|
|
| 282 |
if __name__ == "__main__":
|
| 283 |
question = "When was a picture of St. Thomas Aquinas first added to the Wikipedia page on the Principle of double effect?"
|
| 284 |
|
| 285 |
+
graph = test_graph()
|
| 286 |
|
| 287 |
messages = [HumanMessage(content=question)]
|
| 288 |
messages = graph.invoke({"messages": messages})
|