mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix window.ai streaming
This commit is contained in:
@ -1176,7 +1176,7 @@ async function sendWindowAIRequest(messages, signal, stream) {
|
|||||||
await delay(1);
|
await delay(1);
|
||||||
|
|
||||||
if (lastContent !== content) {
|
if (lastContent !== content) {
|
||||||
yield content;
|
yield { text: content, swipes: [] };
|
||||||
}
|
}
|
||||||
|
|
||||||
lastContent = content;
|
lastContent = content;
|
||||||
|
Reference in New Issue
Block a user