litellm/tests/unit/endpoints
mateo-berri 42ec374edb fix(gemini): answer 400 for speech metadata google refuses and forward speaker (lts port)
Rename the cost map flag supports_speech_style to supports_speech_metadata. A Gemini TTS model without the flag now sends the field and Google decides

A chat text block's speech_metadata on a model that cannot take it answers 400 unless drop_params is set. This line's speech bridge drops a non-string voice, so it needs no multi-speaker check

Chat speech_metadata forwards speaker beside style, and the chat conversion tests move to the mirrored Gemini test file
2026-12-02 22:59:34 -08:00
..
speech fix(gemini): answer 400 for speech metadata google refuses and forward speaker (lts port) 2026-12-02 22:59:34 -08:00
__init__.py test: add __init__.py to migrated tests/unit packages 2026-09-20 11:53:49 +00:00