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