mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update parameter naming
This commit is contained in:
@@ -5884,14 +5884,14 @@ function extractMultiSwipes(data, type) {
|
|||||||
return swipes;
|
return swipes;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function cleanUpMessage(getMessage, isImpersonate, isContinue, displayIncompleteSentences = false, stoppingStrings = null, include_user_prompt_bias=true) {
|
export function cleanUpMessage(getMessage, isImpersonate, isContinue, displayIncompleteSentences = false, stoppingStrings = null, includeUserPromptBias = true) {
|
||||||
if (!getMessage) {
|
if (!getMessage) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add the prompt bias before anything else
|
// Add the prompt bias before anything else
|
||||||
if (
|
if (
|
||||||
include_user_prompt_bias &&
|
includeUserPromptBias &&
|
||||||
power_user.user_prompt_bias &&
|
power_user.user_prompt_bias &&
|
||||||
!isImpersonate &&
|
!isImpersonate &&
|
||||||
!isContinue &&
|
!isContinue &&
|
||||||
|
Reference in New Issue
Block a user