Update tools/web_search.py
Browse files- tools/web_search.py +1 -1
tools/web_search.py
CHANGED
@@ -8,7 +8,7 @@ class DuckDuckGoSearchTool(Tool):
|
|
8 |
inputs = {'query': {'type': 'string', 'description': 'The search query to perform.'}}
|
9 |
output_type = "string"
|
10 |
|
11 |
-
def __init__(self, max_results=
|
12 |
super().__init__()
|
13 |
self.max_results = max_results
|
14 |
try:
|
|
|
8 |
inputs = {'query': {'type': 'string', 'description': 'The search query to perform.'}}
|
9 |
output_type = "string"
|
10 |
|
11 |
+
def __init__(self, max_results=3, **kwargs):
|
12 |
super().__init__()
|
13 |
self.max_results = max_results
|
14 |
try:
|