vtony commited on
Commit
9776052
·
verified ·
1 Parent(s): 5d4c8c6

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +6 -6
agent.py CHANGED
@@ -53,13 +53,13 @@ def wiki_search(query: str) -> str:
53
 
54
  # Tool inventory with proper categorization
55
  tools = [
56
- Tool(name="Math/Multiply", func=multiply, description="Multiplies two integers"),
57
- Tool(name="Math/Add", func=add, description="Adds two integers"),
58
- Tool(name="Math/Subtract", func=subtract, description="Subtracts two integers"),
59
- Tool(name="Math/Divide", func=divide, description="Divides two numbers"),
60
- Tool(name="Search/Wikipedia", func=wiki_search, description="Searches Wikipedia"),
61
  Tool(
62
- name="Search/Web",
63
  func=DuckDuckGoSearchRun().run,
64
  description="Searches the web using DuckDuckGo"
65
  )
 
53
 
54
  # Tool inventory with proper categorization
55
  tools = [
56
+ Tool(name="Math_Multiply", func=multiply, description="Multiplies two integers"),
57
+ Tool(name="Math_Add", func=add, description="Adds two integers"),
58
+ Tool(name="Math_Subtract", func=subtract, description="Subtracts two integers"),
59
+ Tool(name="Math_Divide", func=divide, description="Divides two numbers"),
60
+ Tool(name="Search_Wikipedia", func=wiki_search, description="Searches Wikipedia"),
61
  Tool(
62
+ name="Search_Web",
63
  func=DuckDuckGoSearchRun().run,
64
  description="Searches the web using DuckDuckGo"
65
  )