Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

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
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