From 416baef813ec1124dfb98b378aa5075b9d9caa6d Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 29 Jun 2026 04:57:28 -0500 Subject: [PATCH] refac --- backend/open_webui/config.py | 2 +- src/lib/stores/index.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/open_webui/config.py b/backend/open_webui/config.py index 7222a478e9..f799b09057 100644 --- a/backend/open_webui/config.py +++ b/backend/open_webui/config.py @@ -1073,7 +1073,7 @@ ENABLE_WEB_SEARCH_CONFIRMATION = os.getenv('ENABLE_WEB_SEARCH_CONFIRMATION', 'Fa WEB_SEARCH_CONFIRMATION_CONTENT = os.getenv( 'WEB_SEARCH_CONFIRMATION_CONTENT', - 'Web Search may send your query and retrieved page content to external services.', + 'Your query will be sent to the configured web search provider.', ) WEB_SEARCH_ENGINE = os.getenv('WEB_SEARCH_ENGINE', '') diff --git a/src/lib/stores/index.ts b/src/lib/stores/index.ts index ae6eede392..07df7a3736 100644 --- a/src/lib/stores/index.ts +++ b/src/lib/stores/index.ts @@ -292,6 +292,8 @@ type Config = { enable_signup: boolean; enable_login_form: boolean; enable_web_search?: boolean; + enable_web_search_confirmation?: boolean; + web_search_confirmation_content?: string; enable_google_drive_integration: boolean; enable_onedrive_integration: boolean; enable_image_generation: boolean;