JoeSos commited on
Commit
16ba7f0
·
verified ·
1 Parent(s): 200fcb1

Update app.py

Browse files

The added missing argument description for the calculator tool.

Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -32,7 +32,11 @@ def get_domain_ip(domain:str)-> str: #it's important to specify the return type
32
 
33
  @tool
34
  def calculator(a: int, b: int) -> int:
35
- """Multiply two integers."""
 
 
 
 
36
  return a * b
37
 
38
  print(calculator_tool.to_string())
 
32
 
33
  @tool
34
  def calculator(a: int, b: int) -> int:
35
+ """This tool multiplies two integers ('a' and 'b').
36
+ Args:
37
+ a: an integer
38
+ b: an integer
39
+ """
40
  return a * b
41
 
42
  print(calculator_tool.to_string())