mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-02 01:28:38 +00:00
* feat(gnani): add Timbre text to speech on /v1/audio/speech Adds a Gnani text-to-speech config so gnani/timbre-v3.0 and gnani/timbre-v2.5 work through litellm.speech and the proxy's /v1/audio/speech. OpenAI response_format values map to Gnani's audio_config, raw PCM replies are labeled audio/pcm, and the cost map gains both Timbre models. Builds on the work in #54852. Co-authored-by: Gauarv Chaudhary <137998824+ANAMASGARD@users.noreply.github.com> * fix(gnani): list supported formats only when response_format is the unsupported param * fix(gnani): map OpenAI voice names and raise LiteLLM errors from sync speech OpenAI voice names such as alloy now map to a voice of the chosen Timbre model, so proxy health checks and OpenAI clients work without a Gnani voice name. Sync litellm.speech now raises BadRequestError and AuthenticationError for Gnani rejections, as aspeech already did * chore(ui): regenerate the dashboard API types for the team daily activity key routes * fix(gnani): drop a speed outside the Timbre model's range when drop_params is set * fix(gnani): read Timbre speed ranges from the cost map and reject a non-string response_format Each Timbre model's speed range now lives in provider_specific_entry in both cost maps, so a new model or range needs no LiteLLM upgrade. A model without one keeps v3.0's range. A response_format that is not a string now answers 400 instead of a 500 traceback. --------- Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Co-authored-by: Gauarv Chaudhary <137998824+ANAMASGARD@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| audio_transcription | ||
| realtime | ||
| text_to_speech | ||
| __init__.py | ||