Test search

This commit is contained in:
hlohaus
2025-08-08 07:21:57 +02:00
parent 66bb4ce511
commit da324565ad
2 changed files with 1 additions and 3 deletions

View File

@@ -290,7 +290,6 @@ def iter_run_tools(
# Note: Using asyncio.run inside sync function is not ideal, but maintaining original pattern
messages[-1]["content"], sources = asyncio.run(do_search(messages[-1]["content"], search_query))
except Exception as e:
raise e
debug.error(f"Couldn't do web search:", e)
# Get API key if needed

View File

@@ -14,8 +14,7 @@ try:
from ddgs.exceptions import DDGSException
from bs4 import BeautifulSoup
has_requirements = True
except ImportError as e:
raise e
except ImportError:
has_requirements = False
try: