BetsyFromR commited on
Commit
363d57c
·
verified ·
1 Parent(s): b7f2c59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -28,7 +28,6 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
28
  # result = search.forward(query)
29
  # return result
30
 
31
- search = DuckDuckGoSearchTool()
32
  web_search = DuckDuckGoSearchTool()
33
  # visit_webpage = VisitWebpageTool()
34
 
@@ -69,7 +68,7 @@ with open("prompts.yaml", 'r') as stream:
69
 
70
  agent = CodeAgent(
71
  model=model,
72
- tools=[final_answer, search, web_search], ## add your tools here (don't remove final answer)
73
  max_steps=6,
74
  verbosity_level=1,
75
  grammar=None,
 
28
  # result = search.forward(query)
29
  # return result
30
 
 
31
  web_search = DuckDuckGoSearchTool()
32
  # visit_webpage = VisitWebpageTool()
33
 
 
68
 
69
  agent = CodeAgent(
70
  model=model,
71
+ tools=[final_answer, web_search], ## add your tools here (don't remove final answer)
72
  max_steps=6,
73
  verbosity_level=1,
74
  grammar=None,