asamil commited on
Commit
30f6cf7
·
verified ·
1 Parent(s): d2547c2

return type hint added for multiply tool

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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