Spaces:
Runtime error
Runtime error
return type hint added for multiply tool
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
34 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
35 |
|
36 |
@tool
|
37 |
-
def multiply(a: int, b: int):
|
38 |
""" A tool that multiply two integer numbers and returns the result.
|
39 |
Args:
|
40 |
a: first integer number
|
|
|
34 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
35 |
|
36 |
@tool
|
37 |
+
def multiply(a: int, b: int) -> int:
|
38 |
""" A tool that multiply two integer numbers and returns the result.
|
39 |
Args:
|
40 |
a: first integer number
|