Generate: Ignore bias addition on continue

Continue adds to an existing prompt, so the correct parts of a
message are already present.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri 2023-07-24 23:45:14 -04:00
parent 0e45aa7e58
commit 40f7aa47ad

View File

@ -2954,7 +2954,7 @@ function getNextMessageId(type) {
}
export function getBiasStrings(textareaText, type) {
if (type == 'impersonate') {
if (type == 'impersonate' || type == 'continue') {
return { messageBias: '', promptBias: '', isUserPromptBias: false };
}