fix: outlet filter hook

This commit is contained in:
Timothy Jaeryang Baek
2024-12-28 18:05:07 -08:00
parent 76decdba2a
commit 54daf3b765
2 changed files with 3 additions and 1 deletions

View File

@@ -836,7 +836,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] = {