From 513d88b26d7fc047bf1b8a835dcacd83041d5914 Mon Sep 17 00:00:00 2001 From: "Taylor Wilsdon (aider)" Date: Mon, 16 Dec 2024 14:51:02 -0500 Subject: [PATCH] feat: Add Google Drive config values to /api/config endpoint --- backend/open_webui/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index 7b37e37b1..a2014be01 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -2246,6 +2246,10 @@ async def get_app_config(request: Request): else {} ), }, + "google_drive": { + "client_id": GOOGLE_DRIVE_CLIENT_ID.value, + "api_key": GOOGLE_DRIVE_API_KEY.value + }, **( { "default_models": webui_app.state.config.DEFAULT_MODELS,