Skip to content

v2.19.4

Choose a tag to compare

@lfnovo lfnovo released this 17 Feb 21:16
· 79 commits to main since this release
dd00452

Fixed

  • TTS response_format and content_type support — OpenAI-compatible TTS providers now correctly pass response_format in the API request and map it to the appropriate MIME type in AudioResponse.content_type. Previously, response_format was never sent and content_type was always hardcoded to "audio/mp3", causing failures when providers return non-MP3 audio (e.g., WAV from mlx-audio/Kokoro).
    • Affected providers: OpenAI, OpenAI-compatible, Azure TTS
    • Default behavior unchanged: omitting response_format still defaults to "mp3"

Full Changelog: v2.19.3...v2.19.4