mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Move creatorNotes macro init
This commit is contained in:
@@ -2751,6 +2751,7 @@ export function substituteParams(content, _name1, _name2, _original, _group, _re
|
|||||||
environment.charVersion = fields.version || '';
|
environment.charVersion = fields.version || '';
|
||||||
environment.char_version = fields.version || '';
|
environment.char_version = fields.version || '';
|
||||||
environment.charDepthPrompt = fields.charDepthPrompt || '';
|
environment.charDepthPrompt = fields.charDepthPrompt || '';
|
||||||
|
environment.creatorNotes = fields.creatorNotes || '';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Must be substituted last so that they're replaced inside {{description}}
|
// Must be substituted last so that they're replaced inside {{description}}
|
||||||
@@ -4291,7 +4292,6 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro
|
|||||||
loreAfter: worldInfoAfter,
|
loreAfter: worldInfoAfter,
|
||||||
mesExamples: mesExamplesArray.join(''),
|
mesExamples: mesExamplesArray.join(''),
|
||||||
mesExamplesRaw: mesExamplesRawArray.join(''),
|
mesExamplesRaw: mesExamplesRawArray.join(''),
|
||||||
creatorNotes: creatorNotes,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const storyString = renderStoryString(storyStringParams);
|
const storyString = renderStoryString(storyStringParams);
|
||||||
|
Reference in New Issue
Block a user