AI 0.25.2: Translation prompts send exactly the fields a module supplies
AI 0.25.2 improves background translation: new shared translation prompts send exactly the fields a module supplies, and the translation sweep keeps its schedule.
The shared translation prompt used to list fixed slots (name, title, summary, description, body, content). A field a module did not supply stayed as an empty placeholder, and a field with another name never reached the model. Newly created prompts use {{SourceFields}}, which fills in exactly the supplied fields. They also tell the model to keep placeholders and Markdown headings inside a field intact.
Two sweep fixes: changing the sweep interval no longer pushes back a run that is already due, and an older failed job no longer hides a later success and holds a resource back.
Upgrading
Prompts you already edited are left alone. To use the new format, change their SOURCE block to {{SourceFields}}.
Full release notes: AI 0.25.2
0.25.2 · 5 October 2026
Fixed
- Changing a sweep interval leaves an already-due scheduled tick at its original time instead of postponing it again.
- Translation sweep back-off checks the latest job even when it was queued before the 24-hour window. An older job discarded recently no longer masks a later success and holds the resource back.
- HexDocs source links use the
v-prefixed release tags. - Source-prefix tests use the public tuple return shape, removing unreachable branches and Elixir type warnings.
Changed
- Newly provisioned shared translation prompts use
{{SourceFields}}to send exactly the supplied fields, including custom names, without leaving absent fields as unbound slots. Existing operator-edited prompts are preserved; update their SOURCE block to{{SourceFields}}to adopt this format.
AI 0.25.2. Install or update: {:phoenix_kit_ai, "~> 0.25"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.