yetessam commited on
Commit
73f6a3d
·
verified ·
1 Parent(s): 92ec0c3

Update tools/web_search.py

Browse files
Files changed (1) hide show
  1. tools/web_search.py +1 -1
tools/web_search.py CHANGED
@@ -9,7 +9,7 @@ class DuckDuckGoSearchTool(Tool):
9
  inputs: dict[str, dict[str, Any]] = {
10
  "query": {"type": "string", "description": "The search query to perform."}
11
  }
12
- output_type = "json" # switched to "json" as this smolagents version supports it
13
 
14
  def __init__(self, max_results: int = 10, **kwargs: Any) -> None:
15
  super().__init__()
 
9
  inputs: dict[str, dict[str, Any]] = {
10
  "query": {"type": "string", "description": "The search query to perform."}
11
  }
12
+ output_type = "string" # switched to "json" as this smolagents version supports it
13
 
14
  def __init__(self, max_results: int = 10, **kwargs: Any) -> None:
15
  super().__init__()