Commit
·
a8f5726
1
Parent(s):
42c164c
commit
Browse files
agent.py
CHANGED
@@ -219,7 +219,7 @@ def build_graph(provider: str = "huggingface"):
|
|
219 |
if __name__ == "__main__":
|
220 |
question = "When was a picture of St. Thomas Aquinas first added to the Wikipedia page on the Principle of double effect?"
|
221 |
# Build the graph
|
222 |
-
graph = build_graph(provider="
|
223 |
# Run the graph
|
224 |
messages = [HumanMessage(content=question)]
|
225 |
messages = graph.invoke({"messages": messages})
|
|
|
219 |
if __name__ == "__main__":
|
220 |
question = "When was a picture of St. Thomas Aquinas first added to the Wikipedia page on the Principle of double effect?"
|
221 |
# Build the graph
|
222 |
+
graph = build_graph(provider="huggingface")
|
223 |
# Run the graph
|
224 |
messages = [HumanMessage(content=question)]
|
225 |
messages = graph.invoke({"messages": messages})
|