Skip to content

AI 0.11.2: Speech instructions reach dated OpenAI models

AI 0.11.2 fixes speech steering for apps that pin a dated OpenAI speech model. The check for models that accept :instructions expected the name to end in -tts, so a snapshot such as gpt-4o-mini-tts-2025-12-15 never matched and the language hint was dropped again. Dated names now match.

The endpoint form’s xAI model list also improves: xAI’s image and video generation models (grok-imagine-*) no longer appear among the chat models, and xAI model prices are read from xAI’s own price fields instead of showing as zero.

Full release notes: AI 0.11.2

0.11.2 · 13 July 2026

Fixed

  • :instructions steering silently dropped for dated OpenAI TTS snapshots. supports_instructions?/1’s ~r/^gpt-4o.*-tts$/ anchored on the model string ending right at -tts, so a pinned dated snapshot (e.g. gpt-4o-mini-tts-2025-12-15, as OpenAI publishes for this family) never matched — the exact language-steering hint 0.11.0 added to fix homograph mispronunciation (“come”/“fine” read as English) was being discarded again for any host pinning a dated model. The regex now allows an optional trailing -YYYY-MM-DD.

AI 0.11.2. Install or update: {:phoenix_kit_ai, "~> 0.11"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.