Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -6,7 +6,7 @@ def add(a: int, b: int) -> int:
|
|
| 6 |
"""
|
| 7 |
This tool adds two integers together and returns an integer.
|
| 8 |
|
| 9 |
-
|
| 10 |
a: first int
|
| 11 |
b: second int
|
| 12 |
"""
|
|
@@ -17,7 +17,7 @@ def subtract(a: int, b: int) -> int:
|
|
| 17 |
"""
|
| 18 |
This tool subtracts two integers and returns an integer.
|
| 19 |
|
| 20 |
-
|
| 21 |
a: first int
|
| 22 |
b: second int
|
| 23 |
"""
|
|
@@ -28,7 +28,7 @@ def multiply(a: int, b: int) -> int:
|
|
| 28 |
"""
|
| 29 |
This tool multiplies two integers together and returns an integer.
|
| 30 |
|
| 31 |
-
|
| 32 |
a: first int
|
| 33 |
b: second int
|
| 34 |
"""
|
|
@@ -39,7 +39,7 @@ def divide(a: int, b: int) -> int:
|
|
| 39 |
"""
|
| 40 |
This tool divides two integers together and returns a float.
|
| 41 |
|
| 42 |
-
|
| 43 |
a: first int
|
| 44 |
b: second int
|
| 45 |
"""
|
|
@@ -51,7 +51,7 @@ def modulo(a: int, b: int) -> float:
|
|
| 51 |
"""
|
| 52 |
This tool returns the modulus of two integers
|
| 53 |
|
| 54 |
-
|
| 55 |
a: first int
|
| 56 |
b: second int
|
| 57 |
"""
|
|
|
|
| 6 |
"""
|
| 7 |
This tool adds two integers together and returns an integer.
|
| 8 |
|
| 9 |
+
Args:
|
| 10 |
a: first int
|
| 11 |
b: second int
|
| 12 |
"""
|
|
|
|
| 17 |
"""
|
| 18 |
This tool subtracts two integers and returns an integer.
|
| 19 |
|
| 20 |
+
Args:
|
| 21 |
a: first int
|
| 22 |
b: second int
|
| 23 |
"""
|
|
|
|
| 28 |
"""
|
| 29 |
This tool multiplies two integers together and returns an integer.
|
| 30 |
|
| 31 |
+
Args:
|
| 32 |
a: first int
|
| 33 |
b: second int
|
| 34 |
"""
|
|
|
|
| 39 |
"""
|
| 40 |
This tool divides two integers together and returns a float.
|
| 41 |
|
| 42 |
+
Args:
|
| 43 |
a: first int
|
| 44 |
b: second int
|
| 45 |
"""
|
|
|
|
| 51 |
"""
|
| 52 |
This tool returns the modulus of two integers
|
| 53 |
|
| 54 |
+
Args:
|
| 55 |
a: first int
|
| 56 |
b: second int
|
| 57 |
"""
|