feat: set default SearXNG URL to empty string

This commit is contained in:
Michael
2026-06-30 22:32:19 +02:00
parent 9ec05cb2fb
commit 6ed91b05db
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -179,6 +179,9 @@ class ResearchTools:
Returns formatted results string on success, or None if the instance
is unreachable so the caller can fall through to the next backend.
"""
if not _SEARXNG_URL:
logger.info("SearXNG URL is not configured; skipping SearXNG search.")
return None
params: dict[str, Any] = {
"q": query,
"format": "json",