mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix chunked message sending to Poe
This commit is contained in:
@@ -267,7 +267,7 @@ async function generatePoe(type, finalPrompt, signal) {
|
|||||||
|
|
||||||
if (max_context > POE_TOKEN_LENGTH) {
|
if (max_context > POE_TOKEN_LENGTH) {
|
||||||
console.debug('Prompt is too long, sending in chunks');
|
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;
|
reply = result.reply;
|
||||||
messages_to_purge = result.chunks + 1; // +1 for the reply
|
messages_to_purge = result.chunks + 1; // +1 for the reply
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user