mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
refac
This commit is contained in:
parent
79d7e67e51
commit
952822ad5d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue