mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #16884] issue: STT (OpenAI) Whisper language is ignored in user settings #56751
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 @strizi9 on GitHub (Aug 25, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16884
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.6.25
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
User can set the the ISO 639-1 language Whisper uses for STT.
Open-webui will include the language in the OpenAI request.
Actual Behavior
Since v0.6.23 Open-webui always request "en" instead of the language specified in user settings.
Using the environment configuration WHISPER_LANGUAGE to change the language, for example to “de,” works.
Steps to Reproduce
Logs & Screenshots
Before v0.6.23:
vllm[820132]: INFO 08-18 17:01:40 [logger.py:43] Received request transcribe-eb92482fd3f04c9880ef39f7637fdae8: prompt: '<|startoftranscript|><|de|><|transcribe|><|notimestamps|>', params: SamplingParams(n=1, presence_penalty=0.0, frequency_penalty=0.0, repetition_penalty=1.0, temperature=0.0, top_p=1.0, top_k=0, min_p=0.0, seed=None, stop=[], stop_token_ids=[], bad_words=[], include_stop_str_in_output=False, ignore_eos=False, max_tokens=448, min_tokens=0, logprobs=None, prompt_logprobs=None, skip_special_tokens=True, spaces_between_special_tokens=True, truncate_prompt_tokens=None, guided_decoding=None, extra_args=None), prompt_token_ids: None, prompt_embeds shape: None, lora_request: None, prompt_adapter_request: None.
With / after v0.6.23:
vllm[1983]: INFO 08-25 07:49:32 [logger.py:43] Received request transcribe-f2bc9db1fa3a4a6aa0f547ba3e1e088d: prompt: '<|startoftranscript|><|en|><|transcribe|><|notimestamps|>', params: SamplingParams(n=1, presence_penalty=0.0, frequency_penalty=0.0, repetition_penalty=1.0, temperature=0.0, top_p=1.0, top_k=0, min_p=0.0, seed=None, stop=[], stop_token_ids=[], bad_words=[], include_stop_str_in_output=False, ignore_eos=False, max_tokens=448, min_tokens=0, logprobs=None, prompt_logprobs=None, skip_special_tokens=True, spaces_between_special_tokens=True, truncate_prompt_tokens=None, guided_decoding=None, extra_args=None), prompt_token_ids: None, prompt_embeds shape: None, lora_request: None, prompt_adapter_request: None.
Additional Information
No response
@SpiralCut commented on GitHub (Aug 31, 2025):
I have the same issue. All stt generates English text. If I start with a Japanese voice I end up with an English translation in text instead of the actual Japanese text.