mmichiels13 commited on
Commit
8fdb91b
·
verified ·
1 Parent(s): af362de

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +7 -1
tools.py CHANGED
@@ -2,10 +2,16 @@ from smolagents import DuckDuckGoSearchTool
2
  from smolagents import Tool
3
  import random
4
  from huggingface_hub import list_models
 
 
5
 
6
 
7
  # Initialize the DuckDuckGo search tool
8
- search_tool = DuckDuckGoSearchTool()
 
 
 
 
9
 
10
 
11
  class WeatherInfoTool(Tool):
 
2
  from smolagents import Tool
3
  import random
4
  from huggingface_hub import list_models
5
+ from tools.final_answer import FinalAnswerTool
6
+ from tools.visit_webpage import VisitWebpageTool
7
 
8
 
9
  # Initialize the DuckDuckGo search tool
10
+ web_search = DuckDuckGoSearchTool()
11
+
12
+ visit_webpage = VisitWebpageTool()
13
+
14
+ final_answer = FinalAnswerTool()
15
 
16
 
17
  class WeatherInfoTool(Tool):