opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix(tui): deduplicate file + completion attachments in messages

Open jhrudden opened this issue 5 months ago • 0 comments

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 avatar Jul 25 '25 22:07 jhrudden