mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Don't force a newline for story string if instruct wrap is disabled
This commit is contained in:
@ -1942,7 +1942,9 @@ export function renderStoryString(params) {
|
||||
|
||||
// add a newline to the end of the story string if it doesn't have one
|
||||
if (output.length > 0 && !output.endsWith('\n')) {
|
||||
output += '\n';
|
||||
if (!power_user.instruct.enabled || power_user.instruct.wrap) {
|
||||
output += '\n';
|
||||
}
|
||||
}
|
||||
|
||||
return output;
|
||||
|
Reference in New Issue
Block a user