Nioi commited on
Commit
992a47c
·
1 Parent(s): 45847ec

fixed missing return type

Browse files
Files changed (1) hide show
  1. agent.py +2 -2
agent.py CHANGED
@@ -77,9 +77,9 @@ def modulus(a:int, b:int) -> int:
77
 
78
 
79
  @tool
80
- def rounder(a:float, n:int):
81
  """
82
- This tool rounds a number to a certain number of decimals.
83
 
84
  Args:
85
  a: number to be rounded
 
77
 
78
 
79
  @tool
80
+ def rounder(a:float, n:int) -> float:
81
  """
82
+ This tool return a number rounded to a certain number of decimals.
83
 
84
  Args:
85
  a: number to be rounded