enh: allow direct file upload to knowledge attachment

This commit is contained in:
Timothy Jaeryang Baek committed 2025-07-19 14:50:36 +04:00
1 parent 37c2fb0aa8
commit 157daa6def
3 files changed
+161 -6

No files matched your search

@@ -226,7 +226,7 @@
filterIds = model?.meta?.filterIds ?? [];
actionIds = model?.meta?.actionIds ?? [];
knowledge = (model?.meta?.knowledge ?? []).map((item) => {
if (item?.collection_name) {
if (item?.collection_name && item?.type !== 'file') {
return {
id: item.collection_name,
name: item.name,