Align SearXNG fallback URL

This commit is contained in:
pewdiepie-archdaemon
2026-06-01 10:50:07 +09:00
parent bf325f6b21
commit 0e3734a318
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ class SearchConfig(BaseSettings):
# Web search
searxng_instance: str = Field(
default="http://localhost:8888",
default="http://localhost:8080",
description="SearXNG instance URL (self-hosted)"
)
web_search_count: int = Field(default=10, description="Number of search results to retrieve")

View File

@@ -28,7 +28,7 @@ OPENAI_COMPAT_PATH = "/v1/chat/completions"
DEFAULT_HOST = os.getenv("LLM_HOST", "localhost")
LLM_HOSTS = [h.strip() for h in os.getenv("LLM_HOSTS", "").split(",") if h.strip()]
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
SEARXNG_INSTANCE = os.getenv('SEARXNG_INSTANCE', 'http://localhost:8888')
SEARXNG_INSTANCE = os.getenv('SEARXNG_INSTANCE', 'http://localhost:8080')
# Cleanup configuration