mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-29 00:21:45 -05:00
enh: allow direct file upload to knowledge attachment
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user