FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(core): detect copilot PDF input support by rekram1-node · Pull Request #41854 · anomalyco/opencode · GitHub

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

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 merged commit b35c5fc into v2 Aug 11, 2026
7 of 8 checks passed
rekram1-node deleted the copilot-pdf branch August 11, 2026 21:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL