Add bypass status check for Generic TC API type

This commit is contained in:
Cohee
2024-12-16 21:29:41 +02:00
parent 0819588e7a
commit 7eacdac665
2 changed files with 2 additions and 2 deletions

View File

@@ -1173,7 +1173,7 @@ async function getStatusTextgen() {
return resultCheckStatus();
}
if (textgen_settings.type == textgen_types.OOBA && textgen_settings.bypass_status_check) {
if ([textgen_types.GENERIC, textgen_types.OOBA].includes(textgen_settings.type) && textgen_settings.bypass_status_check) {
setOnlineStatus('Status check bypassed');
return resultCheckStatus();
}