mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
refac
This commit is contained in:
@@ -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] = {
|
||||
|
||||
Reference in New Issue
Block a user