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 b2a0290 commit 4c4d8ddCopy full SHA for 4c4d8dd
ui/src/components/ai-chat/component/chat-input-operate/index.vue
@@ -1202,7 +1202,7 @@ async function saveUrl() {
1202
uploadAudioList.value.length +
1203
uploadVideoList.value.length +
1204
uploadOtherList.value.length
1205
- if (file_limit_once + urls.length >= maxFiles) {
+ if (file_limit_once >= maxFiles || urls.length + file_limit_once >= fileLimit || urls.length > fileLimit) {
1206
MsgWarning(t('chat.uploadFile.limitMessage1') + maxFiles + t('chat.uploadFile.limitMessage2'))
1207
return
1208
}
0 commit comments