3 Commits

Author SHA1 Message Date
iQuantum
984260b3f5 fix(imagegen): prefill image models the providers still serve (#2904)
* fix(imagegen): prefill image models the providers still serve

The OpenAI image provider prefilled gpt-image-1, which OpenAI retired on 2026-10-23, and OpenRouter prefilled google/gemini-2.5-flash-image-preview, which OpenRouter no longer lists, so a user who kept the prefill got a failing first request. They now prefill gpt-image-2 and google/gemini-3.1-flash-image.

* fix(imagegen): prefill gpt-image-2.6-flare instead of gpt-image-2

OpenAI shuts gpt-image-2 down on 2027-02-10 and names gpt-image-2.6-flare or -sunburst as the replacement; its image guide recommends the 2.6 models for new integrations. Flare is the general, fast-iteration model and uses the same Images API, so the OpenAI prefill moves to it now instead of to another retiring model.
2026-12-01 11:24:22 +08:00
Antonio-Faure
b4cb6615d0 feat(providers): add xAI model coverage and Mistral embeddings/voice
- register xAI as an OpenAI-compatible Grok provider (dynamic /v1/models)\n- add Mistral embeddings (mistral-embed / codestral-embed)\n- add xAI Grok Imagine image and video generation\n- add xAI Grok Voice and Mistral Voxtral TTS/STT adapters\n- expose provider/voice hints and add mocked contract tests
2026-10-30 14:57:35 +01:00
evan188199-tech
c8e33e757e fix(imagegen): retry with image-only modalities when both are unsupported (#1353)
Co-authored-by: XZH <cto@xzh.ai>
2026-09-10 23:42:15 +08:00