Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -104,7 +104,7 @@ def modulus(a: int, b: int) -> int:
|
|
| 104 |
|
| 105 |
|
| 106 |
@tool
|
| 107 |
-
def
|
| 108 |
"""Perform mathematical operations based on the operation provided."""
|
| 109 |
a = inputs.get("a")
|
| 110 |
b = inputs.get("b")
|
|
|
|
| 104 |
|
| 105 |
|
| 106 |
@tool
|
| 107 |
+
def calculator(inputs: dict):
|
| 108 |
"""Perform mathematical operations based on the operation provided."""
|
| 109 |
a = inputs.get("a")
|
| 110 |
b = inputs.get("b")
|