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 — [BUG] Non-vision models fail even when user only sends text - OpenCode auto-reads clipboard images · Issue #26668 · anomalyco/opencode

[BUG] Non-vision models fail even when user only sends text - OpenCode auto-reads clipboard images #26668

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
[BUG] Non-vision models fail even when user only sends text - OpenCode auto-reads clipboard images#26668
Copy link
Assignees
Brendonovich

Description

@gamilwcy
gamilwcy
opened on May 10, 2026
Issue body actions

Description

Bug Description

When using a non-vision model (e.g., DeepSeek V4 Flash), users cannot send plain text messages because OpenCode automatically reads images from the clipboard and tries to send them to the model, even when the user hasn't attached any images.

Steps to Reproduce

  1. Configure DeepSeek V4 Flash model (non-vision)
  2. Copy an image to clipboard (screenshot, etc.)
  3. Type a text-only message in OpenCode (no image attached)
  4. Submit the message
  5. Error: "Cannot read 'clipboard' (this model does not support image input)."

Expected Behavior

  • OpenCode should NOT automatically read clipboard images when user only sends text
  • Or provide a config option to disable auto clipboard image reading

Actual Behavior

  • Even with no image attached to the message, OpenCode reads clipboard and fails
  • Other models (e.g., minimax-m2.5-free) work fine because they might handle this differently

Evidence

Error message shown:
ERROR: Cannot read "clipboard" (this model does not support image input). Inform the user.
Note: The user never attached any image - it was purely a text message.

Environment

  • OpenCode: 1.14.46
  • OS: macOS
  • Model: deepseek-v4/deepseek-v4-flash
  • Provider: DeepSeek API

Related Issues

  • Feature Request: Automatic Image Vision Processing for Non-Vision Models #21004: Automatic Image Vision Processing for Non-Vision Models
  • Clipboard images routed directly to model instead of MCP when model lacks vision support #18437: Clipboard images routed directly to model instead of MCP when model lacks vision support

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

No response

Terminal

No response

Activity

  1. github-actions
    assigned
    Brendonovich
    on May 10, 2026
  2. github-actions commented on May 10, 2026

    @github-actions
    github-actionsBot
    on May 10, 2026 – with GitHub Actions
    Contributor
    More actions

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

    • Clipboard images routed directly to model instead of MCP when model lacks vision support #18437: Clipboard images routed directly to model instead of MCP when model lacks vision support — describes the same bug with the same error message ("Cannot read 'image' (this model does not support image input)") when a clipboard image is present but the user only sends text with a non-vision model.

    If the underlying issue is still unresolved or has regressed, please mention that in a comment so maintainers can track it appropriately.

  3. github-actions commented on Jul 10, 2026

    @github-actions
    github-actionsBot
    on Jul 10, 2026 – with GitHub Actions
    Contributor
    More actions

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

  4. github-actions
    closed this as not plannedon Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @Brendonovich
    Brendonovich

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

    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.