Don't trim the end of instruct last prompt line if newline wrap mode is disabled
This commit is contained in:
parent
8f118f140f
commit
1bf6d6d9f2
|
@ -335,7 +335,7 @@ export function formatInstructModePrompt(name, isImpersonate, promptBias, name1,
|
||||||
text += (includeNames ? promptBias : (separator + promptBias));
|
text += (includeNames ? promptBias : (separator + promptBias));
|
||||||
}
|
}
|
||||||
|
|
||||||
return text.trimEnd() + (includeNames ? '' : separator);
|
return (power_user.instruct.wrap ? text.trimEnd() : text) + (includeNames ? '' : separator);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue