diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 55d88c1f3d..b7a724b675 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -512,6 +512,7 @@ } } history = history; + return; // Patches history.messages directly; skip the trailing write-back. } else if (type === 'chat:message:favorite') { // Update message favorite status message.favorite = data.favorite;