diff --git a/ui/src/components/ai-chat/component/chat-input-operate/index.vue b/ui/src/components/ai-chat/component/chat-input-operate/index.vue index 53d182f92..de004b52e 100644 --- a/ui/src/components/ai-chat/component/chat-input-operate/index.vue +++ b/ui/src/components/ai-chat/component/chat-input-operate/index.vue @@ -345,7 +345,7 @@ const upload = ref() const imageExtensions = ['jpg', 'jpeg', 'png', 'gif', 'bmp'] const documentExtensions = ['pdf', 'docx', 'txt', 'xls', 'xlsx', 'md', 'html', 'csv'] -const videoExtensions = ['mp4', 'avi', 'mov', 'mkv', 'flv'] +const videoExtensions: any = [] const audioExtensions = ['mp3', 'wav', 'ogg', 'aac', 'm4a'] let otherExtensions = ['ppt', 'doc'] diff --git a/ui/src/workflow/nodes/base-node/component/FileUploadSettingDialog.vue b/ui/src/workflow/nodes/base-node/component/FileUploadSettingDialog.vue index f05171439..966f4c8b3 100644 --- a/ui/src/workflow/nodes/base-node/component/FileUploadSettingDialog.vue +++ b/ui/src/workflow/nodes/base-node/component/FileUploadSettingDialog.vue @@ -56,7 +56,7 @@
{{ $t('common.fileUpload.document') }}
{{ $t('common.fileUpload.image') }}
{{ $t('common.fileUpload.audio') }}
{{ $t('common.fileUpload.other') }}