mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-16 03:05:53 +08:00
refac: filter out images
This commit is contained in:
parent
54e4c1e0cc
commit
af518cacbf
@ -86,7 +86,7 @@
|
|||||||
|
|
||||||
$: onChange({
|
$: onChange({
|
||||||
prompt,
|
prompt,
|
||||||
files,
|
files: files.filter((file) => file.type !== 'image'),
|
||||||
selectedToolIds,
|
selectedToolIds,
|
||||||
imageGenerationEnabled,
|
imageGenerationEnabled,
|
||||||
webSearchEnabled,
|
webSearchEnabled,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user