diff --git a/public/scripts/openai.js b/public/scripts/openai.js index 444f08717..30f4c6e29 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -1176,7 +1176,7 @@ async function sendWindowAIRequest(messages, signal, stream) { await delay(1); if (lastContent !== content) { - yield content; + yield { text: content, swipes: [] }; } lastContent = content;