refac: filter out images

This commit is contained in:
Timothy Jaeryang Baek committed 2025-05-08 12:43:13 +04:00
1 parent 54e4c1e0cc
commit af518cacbf
1 file changed
+1 -1
+1 -1
View File
@@ -86,7 +86,7 @@
$: onChange({ $: onChange({
prompt, prompt,
files, files: files.filter((file) => file.type !== 'image'),
selectedToolIds, selectedToolIds,
imageGenerationEnabled, imageGenerationEnabled,
webSearchEnabled, webSearchEnabled,