Skip to content

Diffs not showing with Opencode 1.4.11 and GPT 5.4 #39

@Audrique

Description

@Audrique

Description and versions
Using opencode 1.4.11 with GPT 5.4 (I did not try other models yet) and the latest version of code-preview.nvim (pinned to commit 175f231) does not show the diffs.

Hypothesis
I see that my model always uses the patch_edit tool to edit files. Looking at the code it seems to just exit 0. I am not totally sure as I am not very familiar with bash.

Question
It seems to be deliberate behavior. Is there a reason for it? If there is no good reason, consider this a feature request :).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions