Skip to content

fix(core): detect copilot PDF input support - #41854

Merged
rekram1-node merged 2 commits into
v2from
copilot-pdf
Aug 11, 2026
Merged

fix(core): detect copilot PDF input support#41854
rekram1-node merged 2 commits into
v2from
copilot-pdf

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • expose PDF input capability when the Copilot Models API advertises vision and application/pdf
  • preserve image-only capability for vision models that do not advertise PDF input
  • port the V1 fix from fix(opencode): detect Copilot PDF input support #41522 to the V2 Copilot model catalog

Testing

  • bun test test/github-copilot/models.test.ts test/plugin/provider-github-copilot.test.ts from packages/core
  • clean declaration build: rm -rf node_modules/.ts-dist && bun typecheck from packages/core
  • targeted oxlint on the changed source and test

@rekram1-node
rekram1-node merged commit b35c5fc into v2 Aug 11, 2026
7 of 8 checks passed
@rekram1-node
rekram1-node deleted the copilot-pdf branch August 11, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant