Spaces:
Running
Running
Update agent.py
Browse files
agent.py
CHANGED
@@ -449,8 +449,8 @@ wiki_tool = Tool(
|
|
449 |
)
|
450 |
|
451 |
calc_tool = Tool(
|
452 |
-
name="
|
453 |
-
func=
|
454 |
description="Perform mathematical calculations."
|
455 |
)
|
456 |
|
|
|
449 |
)
|
450 |
|
451 |
calc_tool = Tool(
|
452 |
+
name="calculator",
|
453 |
+
func=calculator().run,
|
454 |
description="Perform mathematical calculations."
|
455 |
)
|
456 |
|