Skip to content

duplicated file ref tags when mentioning the same file #8298

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

Activity

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 working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions