feat: Add Google Drive config values to /api/config endpoint

This commit is contained in:
Taylor Wilsdon (aider) 2024-12-16 14:51:02 -05:00
parent edebbd2f6d
commit 513d88b26d

View File

@ -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,