mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
#538 More Poe unchunked bots
This commit is contained in:
@@ -279,7 +279,8 @@ async function generatePoe(type, finalPrompt, signal) {
|
|||||||
const suggestReplies = !isQuiet && !isImpersonate && !isContinue;
|
const suggestReplies = !isQuiet && !isImpersonate && !isContinue;
|
||||||
let reply = '';
|
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');
|
console.debug('Prompt is too long, sending in chunks');
|
||||||
const result = await sendChunkedMessage(finalPrompt, !isQuiet, suggestReplies, signal)
|
const result = await sendChunkedMessage(finalPrompt, !isQuiet, suggestReplies, signal)
|
||||||
reply = result.reply;
|
reply = result.reply;
|
||||||
|
Reference in New Issue
Block a user