made improvements

This commit is contained in:
2025-11-26 08:04:11 +00:00
parent b92feaa13a
commit 100e0b2b0c
5 changed files with 424 additions and 1 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ class QueryProcessor:
"""Tool to search the web using google, provide the relevant query to get the information"""
logger.info(f"\nWeb Search Tool Called with query: {query}")
if query:
result = self.ddg_search.text(query, max_results=10, backend="google")
result = self.ddg_search.text(query, max_results=10)
return result
return "No query provided."