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
Read tool fails with PDF input despite Mimo v2.5 being multimodal #34840
Mimo v2.5 is advertised as a multimodal model, yet attempting to read a PDF file with the Read tool fails with a "model does not support pdf input" error. The Read tool documentation states "You can read image files and PDFs and return them as file attachments," so this should work.
It looks like you are using MiMo v2.5 Free from OpenCode Zen. This happens because the metadata for MiMo v2.5 Free is incorrectly configured in models.dev (where OpenCode fetches its default model list):
BTW, interestingly enough, when using MiMo v2.5 via the official Xiaomi MiMo API, PDF input cannot be enabled this way—even though MiMo v2.5 is advertised as an alternative to the omni-modal MiMo v2 Omni, which is explicitly listed as supporting PDF input on models.dev. Does anyone happen to know why?
Activity
github-actions commentedon Jul 2, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct, please let a maintainer know.
Elkeid-me commentedon Jul 8, 2026
It looks like you are using MiMo v2.5 Free from OpenCode Zen. This happens because the metadata for MiMo v2.5 Free is incorrectly configured in models.dev (where OpenCode fetches its default model list):
You can manually add pdf input to your OpenCode configuration to override the default settings:
{ "$schema": "https://opencode.ai/config.json", "provider": { "opencode": { "models": { "mimo-v2.5-free": { "modalities": { "input": ["audio", "video", "text", "image", "pdf"] } } } } } }github-actions commentedon Sep 7, 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.