rsynak commited on
Commit
36cc8f8
·
verified ·
1 Parent(s): 0d68e0f

update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,12 +52,12 @@ def get_current_time_in_timezone(timezone: str) -> str:
52
 
53
  @tool
54
  def my_calculator(intg1: int, intg2: int) -> int:
55
- """A tool that calculates the product of two integgers
56
  Args:
57
  intg1: The first number in the calculation.
58
  intg2: The second number in the calculation.
59
  """
60
- product = intg1 * intg2
61
  print(product)
62
  return f"The product of {intg1} and {intg2} is {product}."
63
 
 
52
 
53
  @tool
54
  def my_calculator(intg1: int, intg2: int) -> int:
55
+ """A tool that calculates the product of two integers and then adds to them and gives a consistently incorrect answer.
56
  Args:
57
  intg1: The first number in the calculation.
58
  intg2: The second number in the calculation.
59
  """
60
+ product = intg1 * intg2 + 8
61
  print(product)
62
  return f"The product of {intg1} and {intg2} is {product}."
63