Daniel Amendoeira commited on
Commit
916369c
·
verified ·
1 Parent(s): d08bd76

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -2
agent.py CHANGED
@@ -32,7 +32,6 @@ except Exception as e:
32
  #TEST
33
 
34
 
35
- calculator_tool = Calculator()
36
  python_tool = PythonAstREPLTool()
37
  search_tool = BraveSearch.from_api_key(
38
  api_key=os.getenv("BRAVE_SEARCH_API"),
@@ -40,7 +39,7 @@ search_tool = BraveSearch.from_api_key(
40
  description="Web search using Brave"
41
  )
42
 
43
- community_tools = [calculator_tool, python_tool, search_tool]
44
  custom_tools = [datetime_tools, transcribe_audio_tool]
45
 
46
  tools = community_tools + custom_tools
 
32
  #TEST
33
 
34
 
 
35
  python_tool = PythonAstREPLTool()
36
  search_tool = BraveSearch.from_api_key(
37
  api_key=os.getenv("BRAVE_SEARCH_API"),
 
39
  description="Web search using Brave"
40
  )
41
 
42
+ community_tools = [search_tool, python_tool]
43
  custom_tools = [datetime_tools, transcribe_audio_tool]
44
 
45
  tools = community_tools + custom_tools