GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — opus not able to read images with read tool · Issue #5056 · anomalyco/opencode

opus not able to read images with read tool #5056

New issue
Copy link
New issue
Copy link
Closed
Closed
opus not able to read images with read tool#5056
Copy link
Assignees
rekram1-node
Labels
bugSomething isn't working

Description

@SirStisx
SirStisx
opened on Dec 4, 2025
Issue body actions

Description

When told to read a spesific image file the Read tool says "Failed to read image: /tmp/SPA-2358-image-1.png, model may not be able to read images" using opus 4.5

pasting same image to chat or dragging it into chat works.

OpenCode version

132

Steps to reproduce

  1. have a image in a folder /tmp on mac in this case
  2. tell the model to read that image with the read tool.

Screenshot and/or share link

No response

Operating System

No response

Terminal

ghosty

Activity

  1. SirStisx
    added
    bugSomething isn't working
    on Dec 4, 2025
  2. modelnova-ai commented on Dec 4, 2025

    @modelnova-ai
    modelnova-ai
    on Dec 4, 2025
    More actions

    Description

    When told to read a spesific image file the Read tool says "Failed to read image: /tmp/SPA-2358-image-1.png, model may not be able to read images" using opus 4.5

    pasting same image to chat or dragging it into chat works.

    OpenCode version

    132

    Steps to reproduce

    1. have a image in a folder /tmp on mac in this case
    2. tell the model to read that image with the read tool.

    Screenshot and/or share link

    No response

    Operating System

    No response

    Terminal

    ghosty

    If you use a custom model provider, you need to add the image modalities in your config. Otherwise the Read tool cannot read images.

    "models": {
      "claude-opus-4.5": {
        "id": "claude-opus-4.5",
        "modalities": {
          "input": ["text", "image"],
          "output": ["text", "image"]
        }
      }
    }
    

    After adding this, image reading will work.

  3. rekram1-node
    self-assigned this
    on Dec 4, 2025
  4. rekram1-node commented on Dec 4, 2025

    @rekram1-node
    rekram1-node
    on Dec 4, 2025
    Member
    More actions

    fixed in next release, there was a regression going to add more tests:
    350a322

  5. rekram1-node
    closed this as completedon Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rekram1-node
    rekram1-node

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.