mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix possible prompt overflow on message examples push-out
This commit is contained in:
@@ -3314,7 +3314,8 @@ async function Generate(type, { automatic_trigger, force_name2, quiet_prompt, qu
|
|||||||
const prompt = [
|
const prompt = [
|
||||||
storyString,
|
storyString,
|
||||||
mesExmString,
|
mesExmString,
|
||||||
mesSend.join(''),
|
mesSend.map((e) => `${e.extensionPrompts.join('')}${e.message}`).join(''),
|
||||||
|
'\n',
|
||||||
generatedPromptCache,
|
generatedPromptCache,
|
||||||
allAnchors,
|
allAnchors,
|
||||||
quiet_prompt,
|
quiet_prompt,
|
||||||
|
Reference in New Issue
Block a user