Bug fixes and optimizations

This commit is contained in:
SillyLossy
2023-04-15 13:45:25 +03:00
parent fdce599762
commit 648f2e9ceb
6 changed files with 10 additions and 6 deletions

View File

@ -421,7 +421,7 @@ function getSystemPrompt(nsfw_toggle_prompt, enhance_definitions_prompt, wiBefor
let whole_prompt = [];
if (isImpersonate) {
whole_prompt = [nsfw_toggle_prompt, enhance_definitions_prompt, "\n\n", wiBefore, wiAfter, extensionPrompt];
whole_prompt = [nsfw_toggle_prompt, enhance_definitions_prompt, "\n\n", wiBefore, storyString, wiAfter, extensionPrompt];
}
else {
// If it's toggled, NSFW prompt goes first.