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 — desktop: images from tool results never render in chat · Issue #66062 · anomalyco/opencode

desktop: images from tool results never render in chat #66062

New issue
Copy link
New issue
Copy link
Duplicate
Duplicate
desktop: images from tool results never render in chat#66062
Copy link
Labels
area/desktopDesktop appplatform/macosmacOStype/featureNew behaviour or an improvementversion/v2OpenCode 2.x

Description

@UC0083-AU
UC0083-AU
opened on Nov 24, 2026
Issue body actions

Summary

In the OpenCode desktop app the chat transcript never renders images that come from tool results — neither images returned by an MCP tool nor images returned by the built-in read tool. The same session renders them in the mobile app and the model receives them, so the payload reaches the client; the desktop chat view drops it. Screenshot-driven workflows are unusable on desktop as a result.

Environment

  • opencode version: 2.4.1 (desktop app bundle; opencode --version Unavailable: binary is not on PATH)
  • OS: Darwin 27.2.0 arm64 (macOS, Apple Silicon)
  • Terminal: Unavailable: launched from the desktop app, no terminal environment variables set
  • Shell: /bin/zsh
  • Install/channel: latest (desktop release, stable auto-update channel)
  • Active plugins: none

Reproduction

  1. Open the desktop app (2.4.1) and start any session.
  2. Produce a tool result that contains an image, both of these independently:
    • MCP: call a screenshot tool that returns an image content part.
    • Built-in: call read on a PNG file.
  3. Watch the chat transcript.

Expected Behavior

The image renders inline with the tool result, the way it does in the mobile client.

Actual Behavior

Nothing renders: no image, no placeholder, no visible error. The tool result reads as if it had no image at all. The model does receive the image (returned descriptions match the captured pixels), and the mobile client renders the same session correctly, so capture, encoding and transport are fine.

Additional Context

  • Client and server are the same build (2.4.1), so this is not client/server version skew.
  • Server log shows no media or image errors.
  • Desktop renderer log contains an opaque error at exactly the moment an image is appended:
[2026-11-24 17:15:50.145] [error]           [object Object]

A second image added around 17:39 produced no visible change either; the neighbouring [error] lines are unrelated event-stream transport errors.

  • Workaround: saving the same PNG to disk and opening it in the app's file panel renders correctly, which isolates the fault to the chat renderer rather than the image pipeline in general.
  • Frequency: always, on both delivery routes (MCP tool result and read), on this machine.

Activity

  1. opencodejr commented on Nov 24, 2026

    @opencodejr
    opencodejrBot
    on Nov 24, 2026
    Contributor
    More actions

    Thanks for the detailed report, @UC0083-AU. I think this is a duplicate of #21227: tools return images (from MCP tools or read), the model gets them, but the desktop chat doesn't show them. Comments there report the same thing on Desktop 2.3.0 and 2.3.2, on Windows and macOS. They also say read images stopped showing, and that the Android app shows the same session correctly.

    Related issues, most likely match first:

    • [FEATURE(app)]: display image attachments from tool results in chat UI #21227: the open issue for showing images from tool results in the chat. Same symptoms on desktop, for both MCP and read.
    • Desktop app drops MCP image content blocks (Android renders them) #64012: the same report on Desktop 2.3.0, already closed as a duplicate of [FEATURE(app)]: display image attachments from tool results in chat UI #21227.
    • feat(app): let GUI plugins render tool results #61536: an open pull request. Its description says tools without their own display will show the images they return.

    I'm closing this issue now as a duplicate of #21227. Please add your details there: version 2.4.1, macOS on Apple Silicon, the [error] [object Object] renderer log line, and that opening the saved file from the file panel works. If you think this is a different problem, reply here and the issue will reopen.

  2. opencodejr
    closed this as a duplicateof [FEATURE(app)]: display image attachments from tool results in chat UI #21227 on Nov 24, 2026
  3. opencodejr
    added
    area/desktopDesktop app
    platform/macosmacOS
    type/featureNew behaviour or an improvement
    version/v2OpenCode 2.x
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/desktopDesktop appplatform/macosmacOStype/featureNew behaviour or an improvementversion/v2OpenCode 2.x

    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.