Align SearXNG fallback URL
This commit is contained in:
@@ -54,7 +54,7 @@ class SearchConfig(BaseSettings):
|
|||||||
|
|
||||||
# Web search
|
# Web search
|
||||||
searxng_instance: str = Field(
|
searxng_instance: str = Field(
|
||||||
default="http://localhost:8888",
|
default="http://localhost:8080",
|
||||||
description="SearXNG instance URL (self-hosted)"
|
description="SearXNG instance URL (self-hosted)"
|
||||||
)
|
)
|
||||||
web_search_count: int = Field(default=10, description="Number of search results to retrieve")
|
web_search_count: int = Field(default=10, description="Number of search results to retrieve")
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ OPENAI_COMPAT_PATH = "/v1/chat/completions"
|
|||||||
DEFAULT_HOST = os.getenv("LLM_HOST", "localhost")
|
DEFAULT_HOST = os.getenv("LLM_HOST", "localhost")
|
||||||
LLM_HOSTS = [h.strip() for h in os.getenv("LLM_HOSTS", "").split(",") if h.strip()]
|
LLM_HOSTS = [h.strip() for h in os.getenv("LLM_HOSTS", "").split(",") if h.strip()]
|
||||||
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
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
|
# Cleanup configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user