# language_models: Add support for images to Mistral models \(\#32154\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/0bc9478b46bd2eef0c8888592213066f8f5788c1)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 0bc9478b46bd2eef0c8888592213066f8f5788c1

Requested commit: 0bc9478b46bd2eef0c8888592213066f8f5788c1

Commit: 0bc9478b46bd2eef0c8888592213066f8f5788c1

Tree: 94fccf7989cda51d82cb847526af179fbb2ca13b

Author: Umesh Yadav

Committer: GitHub

## Message

```
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>
```

## Parents

- [4ac793558991a7dce7941beb96d202858a9b05fe](https://git.cafe/gitcafe/zed/commit/4ac793558991a7dce7941beb96d202858a9b05fe?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/0bc9478b46bd2eef0c8888592213066f8f5788c1?format=markdown)
