mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Prepend extension prompt with newline
This commit is contained in:
@@ -975,6 +975,9 @@ function getExtensionPrompt() {
|
||||
.map((x) => extension_prompts[x])
|
||||
.filter(x => x)
|
||||
.join("\n");
|
||||
if (extension_prompt.length && !extension_prompt.startsWith("\n")) {
|
||||
extension_prompt = "\n" + extension_prompt;
|
||||
}
|
||||
if (extension_prompt.length && !extension_prompt.endsWith("\n")) {
|
||||
extension_prompt += "\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user