Synnove commited on
Commit
c643b42
·
verified ·
1 Parent(s): 512bdde

Update web_search.py

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