mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix
This commit is contained in:
@ -3476,7 +3476,7 @@ async function getStatusOpen() {
|
||||
let status;
|
||||
|
||||
if ('ai' in window) {
|
||||
status = 'Valid';
|
||||
status = t`Valid`;
|
||||
}
|
||||
else {
|
||||
showWindowExtensionError();
|
||||
@ -3525,7 +3525,7 @@ async function getStatusOpen() {
|
||||
|
||||
const canBypass = (oai_settings.chat_completion_source === chat_completion_sources.OPENAI && oai_settings.bypass_status_check) || oai_settings.chat_completion_source === chat_completion_sources.CUSTOM;
|
||||
if (canBypass) {
|
||||
setOnlineStatus('Status check bypassed');
|
||||
setOnlineStatus(t`Status check bypassed`);
|
||||
}
|
||||
|
||||
try {
|
||||
@ -3547,7 +3547,7 @@ async function getStatusOpen() {
|
||||
saveModelList(responseData.data);
|
||||
}
|
||||
if (!('error' in responseData)) {
|
||||
setOnlineStatus('Valid');
|
||||
setOnlineStatus(t`Valid`);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
|
Reference in New Issue
Block a user