Add a main {{systemPrompt}} macro

This commit is contained in:
Wolfsblvt
2024-04-08 20:05:59 +02:00
parent 63117653bb
commit 845409a239
3 changed files with 5 additions and 2 deletions

View File

@ -257,7 +257,7 @@ export function evaluateMacros(content, env) {
}
content = diceRollReplace(content);
content = replaceInstructMacros(content);
content = replaceInstructMacros(content, env);
content = replaceVariableMacros(content);
content = content.replace(/{{newline}}/gi, '\n');
content = content.replace(/\n*{{trim}}\n*/gi, '');