# language_models: Add vision support for Copilot Chat models \(\#30155\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a6c3d49bb9f0713affa981af2e1b83dbc172b68b

Requested commit: a6c3d49bb9f0713affa981af2e1b83dbc172b68b

Commit: a6c3d49bb9f0713affa981af2e1b83dbc172b68b

Tree: c6d86afaa4c94d07fc463efe3befb26e821cf46e

Author: Umesh Yadav

Committer: GitHub

## Message

```
language_models: Add vision support for Copilot Chat models (#30155)

Problem Statement:
Support for image analysis (vision) is currently restricted to Anthropic
and Gemini models. This limits users who wish to leverage vision
capabilities available in other models, such as Copilot, for tasks like
attaching image context within the agent message editor.

Proposed Change:
This PR extends vision support to include Copilot models that are
already equipped with vision capabilities. This integration will allow
users within VS Code to attach and analyze images using supported
Copilot models via the agent message editor.

Scope Limitation:

This PR does not implement controls within the message editor to ensure
that image context (e.g., through copy-paste or attachment) is
exclusively enabled or prompted only when a vision-supported model is
active. Long term the message editor should have access to each models
vision capability and stop the users from attaching images by either
greying out the context saying it's not support or not work through both
copy paste and file/directory search.

Closes #30076 

Release Notes:

- Add vision support for Copilot Chat models

---------

Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
```

## Parents

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

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