mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-19 00:03:21 +00:00
Gemini TTS (via LiteLLM/OpenRouter) returns `audio/pcm` instead of MP3. Add `convert_pcm_to_mp3` to handle PCM-to-MP3 conversion using parameters from the Content-Type header (rate, channels), and call it asynchronously when a PCM response is detected. |
||
|---|---|---|
| .. | ||
| data | ||
| internal | ||
| migrations | ||
| models | ||
| retrieval | ||
| routers | ||
| socket | ||
| static | ||
| storage | ||
| test | ||
| tools | ||
| utils | ||
| __init__.py | ||
| alembic.ini | ||
| config.py | ||
| constants.py | ||
| env.py | ||
| functions.py | ||
| main.py | ||
| tasks.py | ||