Fix possible prompt overflow on message examples push-out
This commit is contained in:
parent
814ed49c31
commit
3cd935c0d2
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue