mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove condition
This commit is contained in:
@ -1228,9 +1228,7 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
|
|||||||
'dynatemp_exponent': dynatemp ? settings.dynatemp_exponent : undefined,
|
'dynatemp_exponent': dynatemp ? settings.dynatemp_exponent : undefined,
|
||||||
'xtc_threshold': settings.xtc_threshold,
|
'xtc_threshold': settings.xtc_threshold,
|
||||||
'xtc_probability': settings.xtc_probability,
|
'xtc_probability': settings.xtc_probability,
|
||||||
'custom_token_bans': [APHRODITE, MANCER].includes(settings.type) ?
|
'custom_token_bans': toIntArray(banned_tokens),
|
||||||
toIntArray(banned_tokens) :
|
|
||||||
banned_tokens,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (settings.type === OPENROUTER) {
|
if (settings.type === OPENROUTER) {
|
||||||
|
Reference in New Issue
Block a user