ZIm/crates/language_models/src/provider
Umesh Yadav 0bc9478b46
language_models: Add support for images to Mistral models (#32154)
Tested with following models. Hallucinates with whites outline images
like white lined zed logo but works fine with zed black outlined logo:

Pixtral 12B (pixtral-12b-latest)
Pixtral Large (pixtral-large-latest)
Mistral Medium (mistral-medium-latest)
Mistral Small (mistral-small-latest)

After this PR, almost all of the zed's llm provider who support images
are now supported. Only remaining one is LMStudio. Hopefully we will get
that one as well soon.

Release Notes:

- Add support for images to mistral models

---------

Signed-off-by: Umesh Yadav <git@umesh.dev>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
2025-06-09 10:00:02 +00:00
..
anthropic.rs anthropic: Fix error when attaching multiple images (#32092) 2025-06-05 16:29:49 +00:00
bedrock.rs bedrock: Fix cross-region inference (#30659) 2025-06-03 15:46:35 +00:00
cloud.rs Add thinking budget for Gemini custom models (#31251) 2025-06-03 13:40:20 +02:00
copilot_chat.rs language_models: Fix Copilot models not loading (#32288) 2025-06-07 09:32:01 +00:00
deepseek.rs language_models: Add thinking support to DeepSeek provider (#32338) 2025-06-09 11:10:55 +02:00
google.rs google: Add latest versions of Gemini 2.5 Pro and Flash Preview (#32183) 2025-06-05 19:30:34 +00:00
lmstudio.rs language_models: Add thinking support to LM Studio provider (#32337) 2025-06-09 11:55:34 +02:00
mistral.rs language_models: Add support for images to Mistral models (#32154) 2025-06-09 10:00:02 +00:00
ollama.rs Remove unused load_model method from LanguageModelProvider (#32070) 2025-06-04 14:07:01 +00:00
open_ai.rs Pass up intent with completion requests (#31710) 2025-05-29 20:43:12 +00:00
open_router.rs Add support for OpenRouter as a language model provider (#29496) 2025-06-03 15:59:46 +00:00