Fix holdover textgenerationwebui_settings

This commit is contained in:
valadaptive 2023-12-03 17:36:25 -05:00
parent f7417e9fb3
commit 3c59b5b7a5
1 changed files with 1 additions and 1 deletions

View File

@ -4375,7 +4375,7 @@ function extractMultiSwipes(data, type) {
return swipes; return swipes;
} }
if (main_api === 'textgenerationwebui' && textgenerationwebui_settings.type === textgen_types.APHRODITE) { if (main_api === 'textgenerationwebui' && textgen_settings.type === textgen_types.APHRODITE) {
const multiSwipeCount = data.choices.length - 1; const multiSwipeCount = data.choices.length - 1;
if (multiSwipeCount <= 0) { if (multiSwipeCount <= 0) {