You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: pdf reader doesn't work for models that support it #15748
Despite this, adding "pdf" as an input modality in this model's opencode.json config entry breaks Opencode altogether, yielding AI_UnsupportedFunctionalityError: 'file part media type application/pdf' functionality not supported.
OpenCode version
1.2.10
Screenshot and/or share link
An example of qwen3.5 reading a PDF in ik_llama.cpp:
I have a custom pdf-ocr tool that I want to deprecate, so I asked Qwen3.5 to read a PDF file without that custom tool and it couldn't. Then I added the "pdf" modality and restarted Opencode, continuing the previous session:
Activity
github-actions commentedon Mar 2, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct from these, please clarify the differences so maintainers can track it separately.
github-actions commentedon May 2, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.