Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,11 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def calculator(a: int, b: int) -> int:
|
| 23 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
return a * b
|
| 25 |
|
| 26 |
@tool
|
|
|
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def calculator(a: int, b: int) -> int:
|
| 23 |
+
"""A tool that multiply two integers.
|
| 24 |
+
Args:
|
| 25 |
+
arg1: an integer
|
| 26 |
+
arg2: an integer
|
| 27 |
+
"""
|
| 28 |
return a * b
|
| 29 |
|
| 30 |
@tool
|