AI 0.11.1: Speech instructions no longer break Mistral
AI 0.11.1 fixes text-to-speech on Mistral. Since 0.11.0, a call that passed :instructions sent them to every model, and Mistral’s voxtral-*-tts rejects the unknown field with an HTTP 422 and returns no audio.
The instructions are now sent only to the gpt-4o*-tts models, which support them, and quietly dropped for every other model, including OpenAI’s older tts-1 and tts-1-hd. Pronunciation may be less exact without them, but the request goes through.
The module’s tables now also follow PhoenixKit’s configured database schema prefix (config :phoenix_kit, prefix: ...).
Upgrading
AI 0.11.1 needs PhoenixKit 1.7.189 or later.
Full release notes: AI 0.11.1
0.11.1 · 13 July 2026
Fixed
:instructionson TTS no longer breaks Mistral with HTTP 422. 0.11.0’s claim that Mistral’s/audio/speechschema “allows unrecognized JSON properties” was wrong —voxtral-*-ttshard-rejects an unrecognizedinstructionsfield with a 422 and returns no audio at all.Completion.text_to_speech/3now only sendsinstructionsto models known to support steering (thegpt-4o*-ttsfamily); it’s silently dropped for everything else, including older OpenAItts-1/tts-1-hd(which predate the field) and Mistral. Dropping the hint degrades pronunciation quality; sending it to an unsupported model destroyed the whole request, so dropping is the only safe default.
AI 0.11.1. Install or update: {:phoenix_kit_ai, "~> 0.11"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.