[TUI] With GPT-5.2, I can't see the file name that its asking to edit #7096

Closed
opened 2026-02-16 18:06:10 -05:00 by yindo · 4 comments
Owner

Originally created by @iltenahmet on GitHub (Jan 21, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Image

I can't see which file it's asking to edit. Happens with GPT-5.2, doesn't happen with other models such as Big Pickle.

Plugins

No response

OpenCode version

1.1.28

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @iltenahmet on GitHub (Jan 21, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description <img width="1275" height="1402" alt="Image" src="https://github.com/user-attachments/assets/6e07cdfd-0acd-4250-aba1-755a26d68fc8" /> I can't see which file it's asking to edit. Happens with GPT-5.2, doesn't happen with other models such as Big Pickle. ### Plugins _No response_ ### OpenCode version 1.1.28 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 18:06:10 -05:00
yindo closed this issue 2026-02-16 18:06:10 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 21, 2026):

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

  • #9631: Missing file name in edit UI when edit permission set to ask

Feel free to ignore if this doesn't address your specific case.

@github-actions[bot] commented on GitHub (Jan 21, 2026): This issue might be a duplicate of existing issues. Please check: - #9631: Missing file name in edit UI when edit permission set to ask Feel free to ignore if this doesn't address your specific case.
Author
Owner

@iltenahmet commented on GitHub (Jan 21, 2026):

I assume it could be related to GPT-5.2 using apply_patch tool instead of write tool, which doesn't return filePath in the metadata.

There is a similar issue (https://github.com/anomalyco/opencode/issues/9631) and a merged PR (https://github.com/anomalyco/opencode/pull/9662) but that still doesn't fix it.

@iltenahmet commented on GitHub (Jan 21, 2026): I assume it could be related to `GPT-5.2` using `apply_patch` tool instead of `write` tool, which doesn't return `filePath` in the metadata. There is a similar issue (https://github.com/anomalyco/opencode/issues/9631) and a merged PR (https://github.com/anomalyco/opencode/pull/9662) but that still doesn't fix it.
Author
Owner

@rekram1-node commented on GitHub (Jan 21, 2026):

Yeah

@rekram1-node commented on GitHub (Jan 21, 2026): Yeah
Author
Owner

@pedro757 commented on GitHub (Jan 22, 2026):

Missing file name when using apply_patch with openai gpt 5.2

I'm using flag OPENCODE_EXPERIMENTAL_PLAN_MODE=1

Image
@pedro757 commented on GitHub (Jan 22, 2026): Missing file name when using apply_patch with openai gpt 5.2 I'm using flag OPENCODE_EXPERIMENTAL_PLAN_MODE=1 <img width="931" height="413" alt="Image" src="https://github.com/user-attachments/assets/58c581f1-77f6-471a-8642-c2a19e8b5101" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7096