Skip to content

PDF attachments are not available with some GitHub Copilot models #41521

Description

@stevenao

Description

I can’t attach or use PDF files with certain GitHub Copilot models, even though those models support PDFs. OpenCode treats them as if they only accept text and images, so PDF support appears to be missing.

Plugins

GithubCopilot

OpenCode version

v1.18.16

Steps to reproduce

  1. Set up the GitHub Copilot plugin.
  2. Select a model that supports PDF files.
  3. Try to attach a PDF to a prompt.
  4. Notice that the PDF is unavailable or the model is reported as not supporting PDF input.

Expected behavior

PDF attachments should be available when the selected GitHub Copilot model supports them.

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

Bash

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions