Merge pull request #1443 from valadaptive/aphrodite-fix

Fix holdover textgenerationwebui_settings
This commit is contained in:
Cohee 2023-12-04 00:37:58 +02:00 committed by GitHub
commit 12a4194bd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4375,7 +4375,7 @@ function extractMultiSwipes(data, type) {
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;
if (multiSwipeCount <= 0) {