Unable to select a pdf attachment in auto complete #2602

Closed
opened 2026-02-16 17:36:23 -05:00 by yindo · 1 comment
Owner

Originally created by @leeweisern on GitHub (Nov 5, 2025).

Originally assigned to: @thdxr on GitHub.

Description

Here is quick video, auto complete is able to find the attachment but when i hit enter it won't paste into the text box.

I have to drag and drop into the text box but i got this error:

Read jompay.pdf
Cannot read binary file: /Users/kelvin/Local/Github/jompay.pdf

Not sure if it is related.

OpenCode version

1.0.25

Steps to reproduce

No response

Screenshot and/or share link

https://github.com/user-attachments/assets/2646a7f1-57c6-4a6e-948d-3fffdfdb71fd

Operating System

macOS 15.3.1

Terminal

Ghostty

Originally created by @leeweisern on GitHub (Nov 5, 2025). Originally assigned to: @thdxr on GitHub. ### Description Here is quick video, auto complete is able to find the attachment but when i hit enter it won't paste into the text box. I have to drag and drop into the text box but i got this error: Read jompay.pdf Cannot read binary file: /Users/kelvin/Local/Github/jompay.pdf Not sure if it is related. ### OpenCode version 1.0.25 ### Steps to reproduce _No response_ ### Screenshot and/or share link https://github.com/user-attachments/assets/2646a7f1-57c6-4a6e-948d-3fffdfdb71fd ### Operating System macOS 15.3.1 ### Terminal Ghostty
yindo added the opentuibug labels 2026-02-16 17:36:23 -05:00
yindo closed this issue 2026-02-16 17:36:23 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 5, 2025):

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

  • #3659: Can't attach screenshots - Similar issue with attachment functionality not working properly in the TUI
  • #3747: Image drag/drop no longer works - Related to drag-and-drop functionality being broken after OpenTUI migration
  • #3816: Clipboard image paste fails with AI_DownloadError - Related to file attachment and binary file handling issues

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 5, 2025): This issue might be a duplicate of existing issues. Please check: - #3659: Can't attach screenshots - Similar issue with attachment functionality not working properly in the TUI - #3747: Image drag/drop no longer works - Related to drag-and-drop functionality being broken after OpenTUI migration - #3816: Clipboard image paste fails with AI_DownloadError - Related to file attachment and binary file handling issues Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2602