Skip to content

Conversation

jhrudden
Copy link
Contributor

@jhrudden jhrudden commented Jul 25, 2025

Deduplicate file attachments by path before sending to backend, keeping first occurrence of each unique file while preserving all text attachments

Before:
@file.go @file.go → sends 2 attachments

After:
@file.go @file.go → sends 1 attachment

Fixes: #1379

@jhrudden jhrudden changed the title fix(tui): deduplicate file attachments in messages fix(tui): deduplicate file + completion attachments in messages Jul 25, 2025
teamgroove pushed a commit to teamgroove/opencode that referenced this pull request Aug 3, 2025
…s in messages

Merged from: sst#1331
Author: @jhrudden
Auto-merged by opencode-fork integration system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Duplicate file read tool invocations when same file referenced multiple times
1 participant