Add bypass status check for Generic TC API type

7eacdac6658f5a151b31e6684a20a921b714c645

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +2 -2Showing whitespace changes
public/index.html+1 -1
@@ -2616,7 +2616,7 @@
26162616 </div>
26172617 </div>
26182618 <div class="flex-container flexFlowColumn marginTopBot5">
26192619 <label data-tg-type="ooba, generic" class="checkbox_label" for="bypass_status_check_textgenerationwebui">
26202620 <input type="checkbox" id="bypass_status_check_textgenerationwebui" />
26212621 <span data-i18n="Bypass status check">Bypass status check</span>
26222622 </label>
public/script.js+1 -1
@@ -1173,7 +1173,7 @@ async function getStatusTextgen() {
11731173 return resultCheckStatus();
11741174 }
11751175
11761176 if (textgen_settings[textgen_types.type ==GENERIC, textgen_types.OOBA].includes(textgen_settings.type) && textgen_settings.bypass_status_check) {
11771177 setOnlineStatus('Status check bypassed');
11781178 return resultCheckStatus();
11791179 }