mirror of
https://github.com/open-webui/open-webui
synced 2025-01-01 08:42:14 +00:00
feat: Add Google Drive config values to /api/config endpoint
This commit is contained in:
parent
edebbd2f6d
commit
513d88b26d
@ -2246,6 +2246,10 @@ async def get_app_config(request: Request):
|
|||||||
else {}
|
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,
|
"default_models": webui_app.state.config.DEFAULT_MODELS,
|
||||||
|
Loading…
Reference in New Issue
Block a user