Remove condition

This commit is contained in:
Cohee 2024-09-21 13:18:52 +03:00
parent a5fea35f12
commit aaf8fa13e5
1 changed files with 1 additions and 3 deletions

View File

@ -1228,9 +1228,7 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
'dynatemp_exponent': dynatemp ? settings.dynatemp_exponent : undefined,
'xtc_threshold': settings.xtc_threshold,
'xtc_probability': settings.xtc_probability,
'custom_token_bans': [APHRODITE, MANCER].includes(settings.type) ?
toIntArray(banned_tokens) :
banned_tokens,
'custom_token_bans': toIntArray(banned_tokens),
};
if (settings.type === OPENROUTER) {