fix: visual model bug

This commit is contained in:
Hk-Gosuto 2023-12-07 17:08:26 +08:00
parent 5f5f182cfc
commit eb7711f832

View File

@ -859,7 +859,7 @@ function _Chat() {
return;
}
if (shouldSubmit(e) && promptHints.length === 0) {
doSubmit(userInput);
doSubmit(userInput, userImage);
e.preventDefault();
}
};