From c34455ef1e3b6a3d3c00516398c34022e1638080 Mon Sep 17 00:00:00 2001 From: Cohee Date: Sun, 11 Jun 2023 12:19:22 +0300 Subject: [PATCH] Fix chunked message sending to Poe --- public/scripts/poe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/poe.js b/public/scripts/poe.js index 6261f2923..526cbf615 100644 --- a/public/scripts/poe.js +++ b/public/scripts/poe.js @@ -267,7 +267,7 @@ async function generatePoe(type, finalPrompt, signal) { if (max_context > POE_TOKEN_LENGTH) { console.debug('Prompt is too long, sending in chunks'); - const result = await sendChunkedMessage(finalPrompt, !isQuiet, !isQuiet, signal) + const result = await sendChunkedMessage(finalPrompt, !isQuiet, signal) reply = result.reply; messages_to_purge = result.chunks + 1; // +1 for the reply }