mirror of
https://github.com/open-webui/open-webui
synced 2025-01-19 09:16:44 +00:00
refac
This commit is contained in:
parent
79d7e67e51
commit
952822ad5d
@ -890,7 +890,7 @@
|
||||
return null;
|
||||
});
|
||||
|
||||
if (res !== null) {
|
||||
if (res !== null && res.messages) {
|
||||
// Update chat history with the new messages
|
||||
for (const message of res.messages) {
|
||||
history.messages[message.id] = {
|
||||
|
Loading…
Reference in New Issue
Block a user