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 #66062DescriptionSummary
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
- Open the desktop app (2.4.1) and start any session.
- 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.
- 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.
Activityopencodejr commented on Nov 24, 2026 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:
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.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|