mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
fix: thread image only message
This commit is contained in:
parent
2d0e55e8f6
commit
78dce85b03
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@
|
|||
};
|
||||
|
||||
const submitHandler = async ({ content, data }) => {
|
||||
if (!content) {
|
||||
if (!content && (data?.files ?? []).length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue