mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-19 07:54:46 +00:00
fix: filter duplicate referenced files (relates #975)
This commit is contained in:
parent
cb7389fd7f
commit
c59df693aa
1 changed files with 1 additions and 0 deletions
|
|
@ -185,6 +185,7 @@ public class ChatToolWindowTabPanel implements Disposable {
|
|||
return tags.stream()
|
||||
.map(this::getVirtualFile)
|
||||
.filter(Objects::nonNull)
|
||||
.distinct()
|
||||
.map(ReferencedFile::from)
|
||||
.toList();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue