anomalyco / anomalyco/opencode

Desktop client freezes when agent performs screenshot verification with non-vision model; rollback does not recover

Open
#44,802 4 comments 0 reactions 1 assignee View on GitHub

@neriousy is already working on this.

Since Aug 24, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

When using a non-vision model, if the agent autonomously takes a screenshot for verification during task execution, the client freezes. Rolling back the conversation does not resolve the issue — the agent still attempts to process the screenshot with the same model and hangs repeatedly.

Plugins

No response

OpenCode version

v1.18.22

Steps to reproduce

Select a text-only model (no vision support).

Assign the agent a task that requires it to take a screenshot for verification (e.g., UI validation, visual check).

Agent captures a screenshot and attempts to send it to the model → client freezes.

Roll back the conversation → agent retries the same step → freezes again.

Screenshot and/or share link
Operating System

windows 10

Terminal

windows Terminal

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.