1
0
Timothy Jaeryang Baek 5 сар өмнө
parent
commit
af518cacbf

+ 1 - 1
src/lib/components/chat/MessageInput.svelte

@@ -86,7 +86,7 @@
 
 	$: onChange({
 		prompt,
-		files,
+		files: files.filter((file) => file.type !== 'image'),
 		selectedToolIds,
 		imageGenerationEnabled,
 		webSearchEnabled,