Skip to content

Commit 64c6022

Browse files
sunbryejasonslchen
andauthored
[2026-06-30] Vision GA (#61970)
Co-authored-by: Jason Chen <jasonslchen@github.com>
1 parent 2038b39 commit 64c6022

6 files changed

Lines changed: 32 additions & 8 deletions

File tree

content/copilot/how-tos/copilot-cli/use-copilot-cli/overview.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,20 @@ To add a specific file to your prompt, use `@` followed by the relative path to
9595

9696
When you start typing a file path, the matching paths are displayed below the prompt box. Use the arrow keys to select a path and press <kbd>Tab</kbd> to complete the path in your prompt.
9797

98+
### Attach images and PDFs
99+
100+
You can attach images and PDFs to your prompts when using a model that supports image input.
101+
102+
{% data reusables.copilot.supported-attachment-file-types %}
103+
104+
{% data reusables.copilot.image-pdf-attachment-handling %}
105+
106+
You can attach a file in the following ways during an interactive session:
107+
108+
* Reference the file in your prompt using `@` followed by the path to the file.
109+
* Drag and drop a file into the interactive session.
110+
* Copy an image to your clipboard, then paste it as an attachment.
111+
98112
### Work with files in a different location
99113

100114
To complete a task, {% data variables.product.prodname_copilot_short %} may need to work with files that are outside the current working directory. If a prompt you have entered in an interactive session requires {% data variables.product.prodname_copilot_short %} to modify a file outside the current location, it will ask you to approve access to the file's directory.

content/copilot/how-tos/copilot-on-github/chat-with-copilot/chat-in-github.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ The response to your edited question is displayed in a new subthread. An edit co
6868

6969
### Using images in {% data variables.copilot.copilot_chat_short %}
7070

71-
> [!NOTE] This feature is currently in {% data variables.release-phases.public_preview %} and subject to change.
71+
{% data reusables.copilot.using-images-in-chat %}
7272

73-
You can attach images to your prompts by pasting, dragging, or clicking {% octicon "plus" aria-label="Add attachment" %} in the prompt box and then selecting **{% octicon "file-code" aria-hidden="true" %} Upload from computer**. Select a model that supports images from the model picker. For supported file types and example questions, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/provide-visual-inputs).
73+
To attach a file, drag and drop it into the prompt box, or click {% octicon "plus" aria-label="Add attachment" %} and select **{% octicon "file-code" aria-hidden="true" %} Upload from computer**. Select a model that supports image input from the model picker.
7474

7575
### Continuing a conversation alongside an agent session
7676

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Image and PDF attachments are available on all {% data variables.product.prodname_copilot_short %} plans and are enabled by default, with no policy required to turn the feature on or off.

data/reusables/copilot/image-questions-and-file-types.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,3 @@
22
* A mockup of the user interface for an application and ask {% data variables.product.prodname_copilot_short %} to generate the code.
33
* A flowchart and ask {% data variables.product.prodname_copilot_short %} to describe the processes shown in the image.
44
* A screenshot of a web page and ask {% data variables.product.prodname_copilot_short %} to generate HTML for a similar page.
5-
6-
> [!NOTE]
7-
> The following types of image file are supported: JPEG (`.jpg`, `.jpeg`), PNG (`.png`), GIF (`.gif`), or WEBP (`.webp`).
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{% data variables.product.prodname_copilot_short %} supports the following file types:
2+
3+
* JPEG (`.jpg`, `.jpeg`)
4+
* PNG (`.png`)
5+
* GIF (`.gif`)
6+
* WEBP (`.webp`)
7+
* PDF (`.pdf`)
8+
* HEIC (`.heic`)
9+
* HEIF (`.heif`)
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
> [!NOTE]
2-
> * {% data reusables.copilot.editor-preview-settings %}
1+
You can attach images and PDFs to your prompts when using a model that supports image input.
32

4-
You can attach images to your chat prompts and then ask {% data variables.product.prodname_copilot_short %} about the images. For example, you can attach:
3+
{% data reusables.copilot.supported-attachment-file-types %}
4+
5+
For example, you can attach:
56

67
{% data reusables.copilot.image-questions-and-file-types %}
8+
9+
{% data reusables.copilot.image-pdf-attachment-handling %}

0 commit comments

Comments
 (0)