Spaces:
Runtime error
Runtime error
Gonzalo Lope
commited on
Commit
·
3eb5975
1
Parent(s):
e80ef77
fixed bug
Browse files- smolagents_test_new.py +1 -1
smolagents_test_new.py
CHANGED
|
@@ -5,7 +5,7 @@ from smolagents import CodeAgent, InferenceClientModel, DuckDuckGoSearchTool
|
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
-
agent = CodeAgent(tools=[DuckDuckGoSearchTool], model=InferenceClientModel())
|
| 9 |
|
| 10 |
|
| 11 |
if __name__ == "__main__":
|
|
|
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
+
agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=InferenceClientModel())
|
| 9 |
|
| 10 |
|
| 11 |
if __name__ == "__main__":
|