Fix window.ai streaming

This commit is contained in:
Cohee 2023-12-07 17:42:06 +02:00
parent 990f958f4f
commit 72adb4c8aa
1 changed files with 1 additions and 1 deletions

View File

@ -1176,7 +1176,7 @@ async function sendWindowAIRequest(messages, signal, stream) {
await delay(1);
if (lastContent !== content) {
yield content;
yield { text: content, swipes: [] };
}
lastContent = content;