Spaces:
Sleeping
Sleeping
zasharepw77
commited on
Commit
·
a400d20
1
Parent(s):
f61269b
Json agent 3
Browse files
app.py
CHANGED
|
@@ -3,4 +3,7 @@ import os
|
|
| 3 |
|
| 4 |
agent = ToolCallingAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel(token=os.getenv('hf_token')))
|
| 5 |
|
| 6 |
-
agent.run("Search for the best music recommendations for a party at the Wayne's mansion.")
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
agent = ToolCallingAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel(token=os.getenv('hf_token')))
|
| 5 |
|
| 6 |
+
result = agent.run("Search for the best music recommendations for a party at the Wayne's mansion.")
|
| 7 |
+
|
| 8 |
+
print("\n++++\nres:\n")
|
| 9 |
+
print(result)
|