hhhhmmmm commited on
Commit
fd03230
·
verified ·
1 Parent(s): d235f02

Delete DuckDuckGoSearchTool bucause of library name changed for pip.

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -36,7 +36,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
36
 
37
  final_answer = FinalAnswerTool()
38
  # Add tools by hiroshi
39
- web_search = DuckDuckGoSearchTool()
40
  visit_webpage = VisitWebpageTool()
41
 
42
 
@@ -60,7 +60,8 @@ with open("prompts.yaml", 'r') as stream:
60
  agent = CodeAgent(
61
  model=model,
62
  # tools=[final_answer], ## add your tools here (don't remove final answer)
63
- tools=[final_answer,get_current_time_in_timezone,web_search,visit_webpage], ## add your tools here (don't remove final answer)
 
64
  max_steps=6,
65
  verbosity_level=1,
66
  grammar=None,
 
36
 
37
  final_answer = FinalAnswerTool()
38
  # Add tools by hiroshi
39
+ # web_search = DuckDuckGoSearchTool()
40
  visit_webpage = VisitWebpageTool()
41
 
42
 
 
60
  agent = CodeAgent(
61
  model=model,
62
  # tools=[final_answer], ## add your tools here (don't remove final answer)
63
+ # tools=[final_answer,get_current_time_in_timezone,web_search,visit_webpage], ## add your tools here (don't remove final answer)
64
+ tools=[final_answer,get_current_time_in_timezone,visit_webpage], ## add your tools here (don't remove final answer)
65
  max_steps=6,
66
  verbosity_level=1,
67
  grammar=None,