diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 137eebb5d..b33b26fa3 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -323,7 +323,10 @@ } else if (messages.length != 0 && messages.at(-1).done != true) { // Response not done console.log('wait'); - } else if (files.length > 0 && files.filter((file) => file.status !== 'processed').length > 0) { + } else if ( + files.length > 0 && + files.filter((file) => file.type !== 'image' && file.status !== 'processed').length > 0 + ) { // Upload not done toast.error( $i18n.t(