yetessam commited on
Commit
ce9ffcf
·
verified ·
1 Parent(s): d1b3ce7

Update tools/tools.py

Browse files
Files changed (1) hide show
  1. tools/tools.py +2 -2
tools/tools.py CHANGED
@@ -7,7 +7,7 @@ from .time_tool import get_the_current_time_in_timezone
7
  # Initialize tools
8
  #final_answer = FinalAnswerTool() in the current version of smolagents, we don't need to load the final answer tool
9
  polite_guard = PoliteGuardTool()
10
- web_search = DuckDuckGoSearchTool()
11
 
12
  # Import tool from Hub
13
  #image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
@@ -16,4 +16,4 @@ web_search = DuckDuckGoSearchTool()
16
  def load_tools():
17
  # Removing final answer from tools during build process
18
  #return [final_answer, polite_guard, web_search, get_the_current_time_in_timezone]
19
- return [polite_guard, web_search]
 
7
  # Initialize tools
8
  #final_answer = FinalAnswerTool() in the current version of smolagents, we don't need to load the final answer tool
9
  polite_guard = PoliteGuardTool()
10
+ #web_search = DuckDuckGoSearchTool()
11
 
12
  # Import tool from Hub
13
  #image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
 
16
  def load_tools():
17
  # Removing final answer from tools during build process
18
  #return [final_answer, polite_guard, web_search, get_the_current_time_in_timezone]
19
+ return [polite_guard]