We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8ada9a commit 356b0abCopy full SHA for 356b0ab
ui/src/components/ai-chat/component/chat-input-operate/index.vue
@@ -543,7 +543,7 @@ const uploadFile = async (file: any, fileList: any) => {
543
uploadAudioList.value.length +
544
uploadVideoList.value.length +
545
uploadOtherList.value.length
546
- if (file_limit_once >= maxFiles) {
+ if (file_limit_once > maxFiles) {
547
MsgWarning(t('chat.uploadFile.limitMessage1') + maxFiles + t('chat.uploadFile.limitMessage2'))
548
fileList.splice(0, fileList.length, ...fileList.slice(0, maxFiles))
549
return
0 commit comments