mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-30 01:08:33 +00:00
Only a missing content type or application/octet-stream, which Gradium
sends for pcm, ulaw and alaw, is relabeled as audio. Any other 200, such
as JSON or HTML, now raises a 502 instead of reaching the caller labeled
audio/pcm and being billed. Tests also pin case-insensitive voice names,
trimmed voices and extra_body's json_config winning over the top level
On 1.108 the rejection test drops its stream cases, since speech takes
no stream argument on this line
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| text_to_speech | ||
| __init__.py | ||