refac: filter out images

This commit is contained in:
Timothy Jaeryang Baek 2025-05-08 12:43:13 +04:00
parent 54e4c1e0cc
commit af518cacbf

View File

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