bug: referencing file causes issue #2646

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

Originally created by @rekram1-node on GitHub (Nov 6, 2025).

Originally assigned to: @thdxr on GitHub.

Still can't reference by file but pasting seems to have been a fixed between 1.0.29 and 1.0.35 using claude 4.5 (Big Pickle gives Bad Request still but not sure if its supposed to support). Sorry for the screenshot but the file reference crashes the terminal session to the point I couldn't copy/paste as text.

Image

Originally posted by @jakegibson in #1351

Originally created by @rekram1-node on GitHub (Nov 6, 2025). Originally assigned to: @thdxr on GitHub. > Still can't reference by file but pasting seems to have been a fixed between 1.0.29 and 1.0.35 using claude 4.5 (Big Pickle gives Bad Request still but not sure if its supposed to support). Sorry for the screenshot but the file reference crashes the terminal session to the point I couldn't copy/paste as text. > > <img width="1748" height="1760" alt="Image" src="https://github.com/user-attachments/assets/57d2debc-4242-49a3-8341-daa198d98ccb" /> _Originally posted by @jakegibson in [#1351](https://github.com/sst/opencode/issues/1351#issuecomment-3499698481)_
yindo added the opentuibug labels 2026-02-16 17:36:35 -05:00
yindo closed this issue 2026-02-16 17:36:36 -05:00
Author
Owner

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

Can confirm issue on:
Ghostty, arch, wayland, Opencode 1.0.29 across the handful of models I tried. Both copy paste and reading from file with @ didn't work.

@rekram1-node commented on GitHub (Nov 6, 2025): > Can confirm issue on: Ghostty, arch, wayland, Opencode 1.0.29 across the handful of models I tried. Both copy paste and reading from file with @ didn't work.
Author
Owner

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

@jakegibson are u on latest? LMK if u still get that error message in the tui on latest

@rekram1-node commented on GitHub (Nov 6, 2025): @jakegibson are u on latest? LMK if u still get that error message in the tui on latest
Author
Owner

@jakegibson commented on GitHub (Nov 6, 2025):

Seems auto update is enabled so the initial report was on 1.0.29, second report 1.0.35, looks like I'm on 1.0.36 now and it doesn't crash now, but with a png it kept trying to "convert to a format I can work with" and with a jpg "I apologize, but I'm unable to read the image file directly." Both files work in claude code with the same model.

If you've got a specific file / prompt you test with I'm happy to run it.

@jakegibson commented on GitHub (Nov 6, 2025): Seems auto update is enabled so the initial report was on 1.0.29, second report 1.0.35, looks like I'm on 1.0.36 now and it doesn't crash now, but with a png it kept trying to "convert to a format I can work with" and with a jpg "I apologize, but I'm unable to read the image file directly." Both files work in claude code with the same model. If you've got a specific file / prompt you test with I'm happy to run it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2646