#1403 Add Aphrodite multi-swipe

This commit is contained in:
Cohee
2023-12-03 20:40:09 +02:00
parent 676cc7731e
commit 1786b0d340
6 changed files with 96 additions and 12 deletions

View File

@ -1614,7 +1614,7 @@ async function sendOpenAIRequest(type, messages, signal) {
let data = JSON.parse(event.substring(6));
// the first and last messages are undefined, protect against that
getMessage = getStreamingReply(getMessage, data);
yield getMessage;
yield { text: getMessage, swipes: [] };
}
if (done) {