mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[GH-ISSUE #1705] bug: Audio settings can't save unless openai key is provided #12602
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ugthefluffster on GitHub (Apr 23, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1705
Bug Report
Description
Bug Summary:
When I'm in Settings->Audio and Text-to-Speech Engine is set to "Open AI", and I don't provide an API key, when I switch to "Default (Web API)", I cannot save the settings. A POST request is sent to http://localhost:3000/audio/api/v1/config/update, which returns status code 400, with this response:
detail: "Oops! It looks like there's a hiccup. The API key is missing. Please make sure to provide a valid API key to access this feature."
Expected Behavior:
When Text-to-Speech Engine is set to "Default (Web API)", it should be able to save the setting without having to put an openai API key.
Environment
Runs in docker as per the install recommendation, and browsing with Chrome.
@tjbck commented on GitHub (Apr 23, 2024):
Fixed on our dev branch!