From 65a3a115eb949b16b83b2b84b9619b31aefa6ff4 Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Sat, 19 Sep 2026 17:36:38 -0400 Subject: [PATCH] fix: keep the speech-to-text extension allowlist when the Audio settings are saved (#30208) --- backend/open_webui/routers/audio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/open_webui/routers/audio.py b/backend/open_webui/routers/audio.py index dfc0ecde65..b9ab84ea0e 100644 --- a/backend/open_webui/routers/audio.py +++ b/backend/open_webui/routers/audio.py @@ -297,8 +297,8 @@ async def update_audio_config(request: Request, form_data: AudioConfigUpdateForm raise HTTPException(400, 'Local TTS is unavailable in slim. Select an external text-to-speech engine.') await Config.upsert( { - **config_updates(form_data.tts.model_dump(), TTS_CONFIG_KEYS), - **config_updates(form_data.stt.model_dump(), STT_CONFIG_KEYS), + **config_updates(form_data.tts.model_dump(exclude_unset=True), TTS_CONFIG_KEYS), + **config_updates(form_data.stt.model_dump(exclude_unset=True), STT_CONFIG_KEYS), } )