Skip to content

Read tool fails with PDF input despite Mimo v2.5 being multimodal #34840

Closed as not planned

Description

@Thambolo

Description

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.

Plugins

No response

OpenCode version

OpenCode Desktop v1.17.13

Steps to reproduce

  1. attach pdf or pdf path
  2. prompt model to read it

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. github-actions commented on Jul 2, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is distinct, please let a maintainer know.

  2. Elkeid-me commented on Jul 8, 2026

    @Elkeid-me

    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):

    [modalities]
    input = ["text", "image", "audio", "video"]
    output = ["text"]

    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"]
              }
            }
          }
        }
      }
    }

    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?

  3. github-actions commented on Sep 7, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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