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 181e27989..d45af15a9 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 @@ -403,7 +403,7 @@ const upload = ref() const imageExtensions = ['JPG', 'JPEG', 'PNG', 'GIF', 'BMP'] const documentExtensions = ['PDF', 'DOCX', 'TXT', 'XLS', 'XLSX', 'MD', 'HTML', 'CSV'] -const videoExtensions: any = ['MP4', 'MOV', 'AVI'] +const videoExtensions: any = ['MP4', 'AVI', 'MKV', 'MOV', 'FLV', 'WMV'] const audioExtensions = ['MP3', 'WAV', 'OGG', 'AAC', 'M4A'] const otherExtensions = ref(['PPT', 'DOC']) diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index 506d066fc..66f4df0fc 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -523,6 +523,8 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean, other_para : [], audio_list: other_params_data && other_params_data.audio_list ? other_params_data.audio_list : [], + video_list: + other_params_data && other_params_data.video_list ? other_params_data.video_list : [], other_list: other_params_data && other_params_data.other_list ? other_params_data.other_list : [], }, diff --git a/ui/src/workflow/nodes/base-node/component/FileUploadSettingDialog.vue b/ui/src/workflow/nodes/base-node/component/FileUploadSettingDialog.vue index 7e08a9173..e59843034 100644 --- a/ui/src/workflow/nodes/base-node/component/FileUploadSettingDialog.vue +++ b/ui/src/workflow/nodes/base-node/component/FileUploadSettingDialog.vue @@ -51,7 +51,7 @@ >
- +

{{ $t('common.fileUpload.document') }} @@ -81,7 +81,7 @@ >

- +

{{ $t('common.fileUpload.image') }} @@ -96,7 +96,7 @@

{{ imageExtensions.join('、') }}

- +
@@ -109,7 +109,7 @@ >
- +

{{ $t('common.fileUpload.audio') }} @@ -124,10 +124,10 @@

{{ audioExtensions.join('、') }}

- +
-
- +

{{ $t('common.fileUpload.video') }} @@ -151,7 +151,7 @@

{{ videoExtensions.join('、') }}

- +
- +

{{ $t('common.fileUpload.other') }} @@ -206,7 +206,7 @@

- +
@@ -223,11 +223,11 @@