Classic298
5fd26b7549
docs: note pydub/audioop Python 3.13 constraint at the import ( #25785 )
...
pydub imports the stdlib `audioop`, removed in Python 3.13, so audio
preprocessing would break there. requires-python is already capped at
< 3.13; this one-line pointer flags what to handle (audioop-lts, or drop
pydub) before raising that cap.
2026-06-29 02:03:11 -05:00
Timothy Jaeryang Baek
b5c43968db
refac
2026-06-25 03:31:45 +01:00
Timothy Jaeryang Baek
5cdcdbaeec
refac
2026-06-17 02:52:35 +02:00
Timothy Jaeryang Baek
bb1419328b
refac
2026-06-16 23:30:24 +02:00
Timothy Jaeryang Baek
6fce92aa12
chore: format
2026-06-01 13:56:55 -07:00
Timothy Jaeryang Baek
750604a11d
refac
2026-06-01 13:43:05 -07:00
Timothy Jaeryang Baek
f16b5c4460
refac
2026-05-31 14:59:28 -07:00
Timothy Jaeryang Baek
42783881e9
refac
2026-05-21 18:43:45 +04:00
Dara Adib
8a104a7ab1
Run transcode_audio_to_mp3 in a thread to avoid blocking ( #24876 )
...
This incorporates the transcoding implementation in #24145 .
2026-05-20 00:25:34 +04:00
Timothy Jaeryang Baek
2ca91ceeec
refac: audio
2026-05-19 21:24:58 +04:00
Timothy Jaeryang Baek
6d0295588e
refac: modernize type annotations (PEP 604 / PEP 585)
2026-05-12 17:10:15 +09:00
Timothy Jaeryang Baek
7bcc0e2e5c
chore: format
2026-05-09 15:25:27 +09:00
Timothy Jaeryang Baek
55e7c7854b
refac
2026-05-09 05:04:51 +09:00
Timothy Jaeryang Baek
072d2000f3
refac
2026-05-09 04:53:47 +09:00
Timothy Jaeryang Baek
ff791b4814
refac
2026-05-09 02:43:07 +09:00
Classic298
7e275c1daa
fix: prevent STT from blocking the uvicorn event loop ( #24338 )
...
The transcription endpoint was async but called the synchronous transcribe() function directly, blocking the single-threaded uvicorn event loop for the entire duration of inference. This caused all HTTP and WebSocket connections to stall for every user on the instance during STT processing.
- Add asyncio import
- Use async UploadFile.read() instead of synchronous file.file.read()
- Offload the blocking transcribe() call via asyncio.to_thread()
Closes #24169
2026-05-09 02:05:28 +09:00
Timothy Jaeryang Baek
4754ece4a2
refac
2026-05-09 01:17:57 +09:00
Timothy Jaeryang Baek
d0e51bde5d
refac
2026-04-24 15:03:29 +09:00
Timothy Jaeryang Baek
fd25152076
refac
2026-04-20 08:34:15 +09:00
Timothy Jaeryang Baek
34d569d564
refac
2026-04-17 13:04:07 +09:00
Timothy Jaeryang Baek
3332878321
refac
2026-04-17 11:29:59 +09:00
Timothy Jaeryang Baek
715cf9797a
refac
2026-04-13 16:25:44 -05:00
Timothy Jaeryang Baek
25898116ea
chore: format
2026-04-12 18:12:59 -05:00
Timothy Jaeryang Baek
27169124f2
refac: async db
2026-04-12 14:22:11 -05:00
Timothy Jaeryang Baek
15f9a8f3f1
refac
2026-04-12 12:36:21 -05:00
Timothy Jaeryang Baek
4cee67e2be
feat: mistral tts
2026-04-02 19:31:15 -05:00
Timothy Jaeryang Baek
ade617efa8
refac
2026-03-24 04:49:48 -05:00
Timothy Jaeryang Baek
de3317e26b
refac
2026-03-17 17:58:01 -05:00
Timothy Jaeryang Baek
97cc94756e
chore: bump
2026-03-08 19:00:50 -05:00
Timothy Jaeryang Baek
c3e1d2d894
refac
2026-03-08 18:40:47 -05:00
Alvin Tang and gambletan
7aa7bbc390
fix: correct Azure TTS locale extraction for SSML xml:lang ( #22443 )
...
The locale for Azure TTS SSML was being extracted with `split("-")[:1]`,
which only takes the first segment (e.g., "en" from "en-US"). The
xml:lang attribute in SSML requires a full locale like "en-US", not just
a language code. This caused Azure TTS to either fail or use incorrect
pronunciation rules.
Changed `[:1]` to `[:2]` to properly extract the locale (e.g., "en-US").
Co-authored-by: gambletan <ethanchang32@gmail.com >
2026-03-08 16:50:25 -05:00
Classic298
387225eb8b
fix: suppress internal path leakage in audio transcription errors (GHSA-vvxm-vxmr-624h) ( #22108 )
...
- Use os.path.basename() for filename sanitization instead of fragile blocklist
- Replace ERROR_MESSAGES.DEFAULT(e) with generic error message in both except blocks to prevent CWE-209 information disclosure
- Server-side logging via log.exception(e) is preserved for debugging
2026-03-01 14:44:49 -05:00
Timothy Jaeryang Baek
62ab30f593
refac
2026-03-01 13:28:32 -06:00
Timothy Jaeryang Baek
319d3e8856
refac
2026-02-15 17:55:59 -06:00
Timothy Jaeryang Baek and Jannik S.
4e0cb88583
refac: audio timeout
...
Co-Authored-By: Jannik S. <jannik@streidl.dev >
2026-02-11 17:56:49 -06:00
Timothy Jaeryang Baek
f376d4f378
chore: format
2026-02-11 16:24:11 -06:00
G30
9b9e6ce2ab
fix: correct empty STT_ENGINE handling and improve TTS error response ( #20534 )
...
- Remove incorrect 403 check that blocked STT when ENGINE="" (local whisper)
- Change TTS empty ENGINE check from 403 to 404 for proper semantics
2026-01-10 15:32:22 +04:00
Timothy Jaeryang Baek
a7b4b6e51a
enh: WHISPER_MULTILINGUAL
2026-01-09 19:42:13 +04:00
G30
4b4743b497
feat: enforce permissions in backend ( #20471 )
...
* feat: enforce image generation permissions in backend
* feat: enforce web search permissions in backend
* feat: enforce audio (tts/stt) permissions in backend
2026-01-08 02:48:35 +04:00
Timothy Jaeryang Baek
26af1f92e2
enh: WHISPER_COMPUTE_TYPE env var
2025-12-29 00:41:47 +04:00
Timothy Jaeryang Baek
4ab917c74b
fix/refac: stt default content type
2025-12-22 09:45:55 +04:00
823b9a6dd9
chore/perf: Remove old SRC level log env vars with no impact ( #20045 )
...
* Update openai.py
* Update env.py
* Merge pull request open-webui#19030 from open-webui/dev (#119 )
Co-authored-by: Tim Baek <tim@openwebui.com >
Co-authored-by: Claude <noreply@anthropic.com >
---------
Co-authored-by: Tim Baek <tim@openwebui.com >
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-20 08:16:14 -05:00
Shirasawa
99c820d607
fix: fixed the issue of mismatched spaces in audio MIME types ( #17771 )
2025-12-10 23:59:10 -05:00
Timothy Jaeryang Baek
48d1e67e79
chore: format
2025-11-23 20:15:52 -05:00
Classic298
99f0fe7f32
chore: user header forward minimize code changes throughout codebase ( #19392 )
...
* Update external.py
* remove unused imports
* Update ollama.py
* Update ollama.py
* Update ollama.py
* Update openai.py
2025-11-23 16:48:03 -05:00
Classic298 and Claude
485896753d
feat: Add user header information for TTS/STT requests ( #93 ) ( #19323 )
...
Resolves #19312
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-20 16:43:22 -05:00
Timothy Jaeryang Baek
224e4c3a61
chore: format
2025-11-06 03:51:26 -05:00
Tim Baek
cde4b93fa6
Merge pull request #18934 from mgl/feat/voxtral-support
...
feat: add voxtral support
2025-11-04 18:28:45 -05:00
mglo
3561c7eedd
feat: add voxtral support
2025-11-04 20:57:36 +01:00
Timothy Jaeryang Baek
e986488ab5
enh: ELEVENLABS_API_BASE_URL env var
2025-10-28 00:06:52 -07:00