[BUG] Can't attach screenshots #2422

Closed
opened 2026-02-16 17:35:32 -05:00 by yindo · 9 comments
Owner

Originally created by @reowens on GitHub (Oct 31, 2025).

Originally assigned to: @thdxr on GitHub.

Description

Unable to attach screenshots!

OpenCode version

1.0.2 -> 1.0.7 (still persists)

Steps to reproduce

  1. Open opencode
  2. Launch a session
  3. Tag screenshot in project with @
  4. Send prompt

Screenshot and/or share link

Image

Operating System

macOS 26.0.1

Terminal

VS Code

Originally created by @reowens on GitHub (Oct 31, 2025). Originally assigned to: @thdxr on GitHub. ### Description Unable to attach screenshots! ### OpenCode version 1.0.2 -> 1.0.7 (still persists) ### Steps to reproduce 1. Open opencode 2. Launch a session 3. Tag screenshot in project with @ 4. Send prompt ### Screenshot and/or share link <img width="426" height="226" alt="Image" src="https://github.com/user-attachments/assets/e9c8a30d-0a2a-41fe-abc1-60a1773613b3" /> ### Operating System macOS 26.0.1 ### Terminal VS Code
yindo added the opentuibug labels 2026-02-16 17:35:32 -05:00
yindo closed this issue 2026-02-16 17:35:33 -05:00
Author
Owner

@rekram1-node commented on GitHub (Oct 31, 2025):

woww

@rekram1-node commented on GitHub (Oct 31, 2025): woww
Author
Owner

@pablo-kitz commented on GitHub (Nov 2, 2025):

On my case when pasting a screenshot i get this error, im on 1.0.12 on Ubuntu 24.04

Image
@pablo-kitz commented on GitHub (Nov 2, 2025): On my case when pasting a screenshot i get this error, im on 1.0.12 on Ubuntu 24.04 <img width="1282" height="826" alt="Image" src="https://github.com/user-attachments/assets/2c23e6c1-68ab-44c8-820f-b3aaf04732cb" />
Author
Owner

@rekram1-node commented on GitHub (Nov 2, 2025):

@pablo-kitz what provider was that?

@rekram1-node commented on GitHub (Nov 2, 2025): @pablo-kitz what provider was that?
Author
Owner

@pablo-kitz commented on GitHub (Nov 2, 2025):

anthropic/sonnet 4.5

@pablo-kitz commented on GitHub (Nov 2, 2025): anthropic/sonnet 4.5
Author
Owner

@rekram1-node commented on GitHub (Nov 2, 2025):

oh the ai sdk failed to download the file for some reason, interesting

@rekram1-node commented on GitHub (Nov 2, 2025): oh the ai sdk failed to download the file for some reason, interesting
Author
Owner

@reowens commented on GitHub (Nov 2, 2025):

I also tried not tagging it and telling it to view the file instead and Sonnet-4.5 said it could not view PNG files.

@reowens commented on GitHub (Nov 2, 2025): I also tried not tagging it and telling it to view the file instead and Sonnet-4.5 said it could not view PNG files.
Author
Owner

@pablo-kitz commented on GitHub (Nov 6, 2025):

This seems to be fixed for me

@pablo-kitz commented on GitHub (Nov 6, 2025): This seems to be fixed for me
Author
Owner

@rekram1-node commented on GitHub (Nov 6, 2025):

oh yeah I fixed this one

@rekram1-node commented on GitHub (Nov 6, 2025): oh yeah I fixed this one
Author
Owner

@guillemus commented on GitHub (Nov 10, 2025):

@rekram1-node I'm sorry to reopen this, but I cannot attach screenshots on ghostty. I'm able to in vscode terminal though.

I'm on opencode 1.0.55

@guillemus commented on GitHub (Nov 10, 2025): @rekram1-node I'm sorry to reopen this, but I cannot attach screenshots on ghostty. I'm able to in vscode terminal though. I'm on opencode 1.0.55
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2422