mohammedelfeky-ai commited on
Commit
c8b1f70
·
verified ·
1 Parent(s): ce59abf

Update tools/web_search.py

Browse files
Files changed (1) hide show
  1. 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=10, **kwargs):
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: