Skip to content

Commit 416baef

Browse files
committed
refac
1 parent 45fea34 commit 416baef

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

backend/open_webui/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ def reachable(host: str, port: int) -> bool:
10731073

10741074
WEB_SEARCH_CONFIRMATION_CONTENT = os.getenv(
10751075
'WEB_SEARCH_CONFIRMATION_CONTENT',
1076-
'Web Search may send your query and retrieved page content to external services.',
1076+
'Your query will be sent to the configured web search provider.',
10771077
)
10781078

10791079
WEB_SEARCH_ENGINE = os.getenv('WEB_SEARCH_ENGINE', '')

src/lib/stores/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ type Config = {
292292
enable_signup: boolean;
293293
enable_login_form: boolean;
294294
enable_web_search?: boolean;
295+
enable_web_search_confirmation?: boolean;
296+
web_search_confirmation_content?: string;
295297
enable_google_drive_integration: boolean;
296298
enable_onedrive_integration: boolean;
297299
enable_image_generation: boolean;

0 commit comments

Comments
 (0)