martinjolif commited on
Commit
09e0a65
·
verified ·
1 Parent(s): 9f6fd5b

new visit web page tool

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -18,6 +18,7 @@ def get_addition_between_two_numbers(x:float, y:float)-> float:
18
  return x+y
19
 
20
  search_web = DuckDuckGoSearchTool()
 
21
 
22
 
23
  @tool
@@ -61,7 +62,8 @@ agent = CodeAgent(
61
  get_addition_between_two_numbers,
62
  search_web,
63
  get_current_time_in_timezone,
64
- image_generation_tool
 
65
  ], ## add your tools here (don't remove final answer)
66
  max_steps=6,
67
  verbosity_level=1,
 
18
  return x+y
19
 
20
  search_web = DuckDuckGoSearchTool()
21
+ visit_web_page = VisitWebpageTool()
22
 
23
 
24
  @tool
 
62
  get_addition_between_two_numbers,
63
  search_web,
64
  get_current_time_in_timezone,
65
+ image_generation_tool,
66
+ visit_web_page
67
  ], ## add your tools here (don't remove final answer)
68
  max_steps=6,
69
  verbosity_level=1,