Skip to content

duplicated file ref tags when mentioning the same file #8298

@felixzsh

Description

@felixzsh

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions