MasterOfHugs commited on
Commit
6b5706e
·
verified ·
1 Parent(s): 9742d95

Update tools/web_search.py

Browse files
Files changed (1) hide show
  1. tools/web_search.py +1 -1
tools/web_search.py CHANGED
@@ -3,7 +3,7 @@ from smolagents import tool
3
  from ddgs import DDGS # 👈 au lieu de duckduckgo_search
4
 
5
 
6
- class DuckDuckGoSearchTool(Tool):
7
  name = "web_search"
8
  description = "Performs a duckduckgo web search based on your query (think a Google search) then returns the top search results."
9
  inputs = {'query': {'type': 'string', 'description': 'The search query to perform.'}}
 
3
  from ddgs import DDGS # 👈 au lieu de duckduckgo_search
4
 
5
 
6
+ class DuckDuckGoSearchTool(tool):
7
  name = "web_search"
8
  description = "Performs a duckduckgo web search based on your query (think a Google search) then returns the top search results."
9
  inputs = {'query': {'type': 'string', 'description': 'The search query to perform.'}}