mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-20 06:00:40 +01:00
Don't add extra space on non-instruct continue
This commit is contained in:
parent
73eeab9ace
commit
57f303223b
@ -3340,7 +3340,7 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
|
||||
}
|
||||
|
||||
// Add a space if prompt cache doesn't start with one
|
||||
if (!/^\s/.test(promptCache) && !isInstruct) {
|
||||
if (!/^\s/.test(promptCache) && !isInstruct && !isContinue) {
|
||||
promptCache = ' ' + promptCache;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user