Skip to content

bug: referencing file causes issue #4011

Closed

Description

@rekram1-node

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

Activity

  1. added
    bugSomething isn't working
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 6, 2025
  2. rekram1-node commented on Nov 6, 2025

    @rekram1-node
    ContributorAuthor

    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.

  3. rekram1-node commented on Nov 6, 2025

    @rekram1-node
    ContributorAuthor

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

  4. jakegibson commented on Nov 6, 2025

    @jakegibson

    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.

  5. self-assigned this
    on Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions