From c794d59fd5dde553a12d96f421e7f62b349d5023 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 12 Jun 2024 11:47:19 -0700 Subject: [PATCH] revert: do not change the default --- backend/apps/rag/search/searxng.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/apps/rag/search/searxng.py b/backend/apps/rag/search/searxng.py index d0de32190..c8ad88813 100644 --- a/backend/apps/rag/search/searxng.py +++ b/backend/apps/rag/search/searxng.py @@ -37,7 +37,7 @@ def search_searxng( """ # Default values for optional parameters are provided as empty strings or None when not specified. - language = kwargs.get("language", "auto") + language = kwargs.get("language", "en-US") safesearch = kwargs.get("safesearch", "1") time_range = kwargs.get("time_range", "") categories = "".join(kwargs.get("categories", []))