duplicated file ref tags when mentioning the same file #5467

Closed
opened 2026-02-16 17:53:02 -05:00 by yindo · 0 comments
Owner

Originally created by @felixzsh on GitHub (Jan 13, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

when the user mentions the same file multiple times in the same prompt (at least i use to do this), the visible ref tags left by the sent prompts shows are duplicated for the same file.

Plugins

No response

OpenCode version

No response

Steps to reproduce

mention the same file multiple times with @ in the prompt box and sent it to see it in the chat with duplicated tag

Screenshot and/or share link

Image

Operating System

omarchy

Terminal

ghostty

Originally created by @felixzsh on GitHub (Jan 13, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description when the user mentions the same file multiple times in the same prompt (at least i use to do this), the visible ref tags left by the sent prompts shows are duplicated for the same file. ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce mention the same file multiple times with @ in the prompt box and sent it to see it in the chat with duplicated tag ### Screenshot and/or share link <img width="1336" height="180" alt="Image" src="https://github.com/user-attachments/assets/b58de509-9feb-4fd7-a01b-ae5775f74b79" /> ### Operating System omarchy ### Terminal ghostty
yindo added the bug label 2026-02-16 17:53:02 -05:00
yindo closed this issue 2026-02-16 17:53:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#5467