From 345992bb86388bcae2dce5e1775b650c7e9ebe1f Mon Sep 17 00:00:00 2001 From: Cohee Date: Tue, 11 Jul 2023 20:59:56 +0300 Subject: [PATCH] #538 More Poe unchunked bots --- public/scripts/poe.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/scripts/poe.js b/public/scripts/poe.js index f6097d4c7..ce2696dc3 100644 --- a/public/scripts/poe.js +++ b/public/scripts/poe.js @@ -279,7 +279,8 @@ async function generatePoe(type, finalPrompt, signal) { const suggestReplies = !isQuiet && !isImpersonate && !isContinue; let reply = ''; - if (max_context > POE_TOKEN_LENGTH && poe_settings.bot !== 'a2_100k') { + const unchunkedBots = ['vizcacha', 'agouti', 'a2_100k', 'a2_2']; + if (max_context > POE_TOKEN_LENGTH && !unchunkedBots.includes(poe_settings.bot)) { console.debug('Prompt is too long, sending in chunks'); const result = await sendChunkedMessage(finalPrompt, !isQuiet, suggestReplies, signal) reply = result.reply;