This commit is contained in:
Timothy Jaeryang Baek committed 2024-12-29 21:02:11 -08:00
1 parent 79d7e67e51
commit 952822ad5d
1 file changed
+1 -1
+1 -1
View File
@@ -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] = {