wt002 commited on
Commit
256d98a
·
verified ·
1 Parent(s): 65f51b7

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -104,7 +104,7 @@ def modulus(a: int, b: int) -> int:
104
 
105
 
106
  @tool
107
- def calculator_tool(inputs: dict):
108
  """Perform mathematical operations based on the operation provided."""
109
  a = inputs.get("a")
110
  b = inputs.get("b")
 
104
 
105
 
106
  @tool
107
+ def calculator(inputs: dict):
108
  """Perform mathematical operations based on the operation provided."""
109
  a = inputs.get("a")
110
  b = inputs.get("b")