kschuette commited on
Commit
941a802
·
verified ·
1 Parent(s): 6c7c3a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -4
app.py CHANGED
@@ -27,22 +27,38 @@ class BasicAgent:
27
 
28
  @tool
29
  def add(a: int, b: int) -> int:
30
- """Add two numbers"""
 
 
 
 
31
  return a + b
32
 
33
  @tool
34
  def subtract(a: int, b: int) -> int:
35
- """Subtract two numbers"""
 
 
 
 
36
  return a - b
37
 
38
  @tool
39
  def multiply(a: int, b: int) -> int:
40
- """Multiply two numbers"""
 
 
 
 
41
  return a * b
42
 
43
  @tool
44
  def divide(a: int, b: int) -> int:
45
- """Divide two numbers"""
 
 
 
 
46
  return a / b
47
 
48
 
 
27
 
28
  @tool
29
  def add(a: int, b: int) -> int:
30
+ """Add two numbers
31
+ Args:
32
+ a: First number
33
+ b: Second number
34
+ """
35
  return a + b
36
 
37
  @tool
38
  def subtract(a: int, b: int) -> int:
39
+ """Subtract two numbers
40
+ Args:
41
+ a: First number
42
+ b: Second number
43
+ """
44
  return a - b
45
 
46
  @tool
47
  def multiply(a: int, b: int) -> int:
48
+ """Multiply two numbers
49
+ Args:
50
+ a: First number
51
+ b: Second number
52
+ """
53
  return a * b
54
 
55
  @tool
56
  def divide(a: int, b: int) -> int:
57
+ """Divide two numbers
58
+ Args:
59
+ a: First number
60
+ b: Second number
61
+ """
62
  return a / b
63
 
64