feat: ref chat

This commit is contained in:
Timothy Jaeryang Baek committed 2025-09-14 10:26:46 +02:00
1 parent c923461882
commit aa8ab349ed
5 files changed
+39 -9

No files matched your search

+1 -1
View File
@@ -1715,7 +1715,7 @@
let files = JSON.parse(JSON.stringify(chatFiles));
files.push(
...(userMessage?.files ?? []).filter((item) =>
['doc', 'text', 'file', 'note', 'collection'].includes(item.type)
['doc', 'text', 'file', 'note', 'chat', 'collection'].includes(item.type)
)
);
// Remove duplicates