mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-12 14:45:38 -06:00
[GH-ISSUE #15096] issue: Voice transcriptions error while STT Supported MIME Types is empty #17467
Reference in New Issue
Block a user
Originally created by @danielaskdd on GitHub (Jun 18, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15096
Originally assigned to: @tjbck on GitHub.
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.15
Ollama Version (if applicable)
No response
Operating System
docker on Ubuntu 24
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
After upgrading to the latest v0.6.15, the speech recognition function is unusable.
Actual Behavior
When clicking the microphone to record, an error pops up after recording: "Oops! It seems like the file format you're trying to ...oad a file with a supported format and try again".
Steps to Reproduce
Logs & Screenshots
Additional Information
After upgrading to the latest v0.6.15, the speech recognition function is unusable. When clicking the microphone to record, an error pops up after recording: "Oops! It seems like the file format you're trying to ...oad a file with a supported format and try again".
Upon analyzing the code, it was found that version 0.6.15 does not correctly handle
supported_content_typeswhenSTT Supported MIME Typesis empty. The problematic code is as follows:When
STT Supported MIME Typesis empty,supported_content_typesbecomes a list containing a single empty string[''], thereby rejecting audio files uploaded by the client.@tjbck commented on GitHub (Jun 18, 2025):
Good catch, taking a look.
@luckyzhang95 commented on GitHub (Jun 18, 2025):
Just fill in the parameters in Supported MIME Types here
@tjbck commented on GitHub (Jun 18, 2025):
Should be addressed with
6186bbf337, Thanks!