mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
@ -1143,7 +1143,7 @@ export async function clearItemizedPrompts() {
|
||||
async function getStatusHorde() {
|
||||
try {
|
||||
const hordeStatus = await checkHordeStatus();
|
||||
setOnlineStatus(hordeStatus ? 'Connected' : 'no_connection');
|
||||
setOnlineStatus(hordeStatus ? t`Connected` : 'no_connection');
|
||||
}
|
||||
catch {
|
||||
setOnlineStatus('no_connection');
|
||||
@ -1210,7 +1210,7 @@ async function getStatusTextgen() {
|
||||
}
|
||||
|
||||
if ([textgen_types.GENERIC, textgen_types.OOBA].includes(textgen_settings.type) && textgen_settings.bypass_status_check) {
|
||||
setOnlineStatus('Status check bypassed');
|
||||
setOnlineStatus(t`Status check bypassed`);
|
||||
return resultCheckStatus();
|
||||
}
|
||||
|
||||
@ -1235,7 +1235,7 @@ async function getStatusTextgen() {
|
||||
setOnlineStatus(textgen_settings.togetherai_model);
|
||||
} else if (textgen_settings.type === textgen_types.OLLAMA) {
|
||||
loadOllamaModels(data?.data);
|
||||
setOnlineStatus(textgen_settings.ollama_model || 'Connected');
|
||||
setOnlineStatus(textgen_settings.ollama_model || t`Connected`);
|
||||
} else if (textgen_settings.type === textgen_types.INFERMATICAI) {
|
||||
loadInfermaticAIModels(data?.data);
|
||||
setOnlineStatus(textgen_settings.infermaticai_model);
|
||||
@ -1259,7 +1259,7 @@ async function getStatusTextgen() {
|
||||
setOnlineStatus(textgen_settings.tabby_model || data?.result);
|
||||
} else if (textgen_settings.type === textgen_types.GENERIC) {
|
||||
loadGenericModels(data?.data);
|
||||
setOnlineStatus(textgen_settings.generic_model || data?.result || 'Connected');
|
||||
setOnlineStatus(textgen_settings.generic_model || data?.result || t`Connected`);
|
||||
} else {
|
||||
setOnlineStatus(data?.result);
|
||||
}
|
||||
@ -10512,7 +10512,7 @@ jQuery(async function () {
|
||||
e.stopPropagation();
|
||||
chat_file_for_del = $(this).attr('file_name');
|
||||
console.debug('detected cross click for' + chat_file_for_del);
|
||||
callPopup('<h3>Delete the Chat File?</h3>', 'del_chat');
|
||||
callPopup('<h3>' + t`Delete the Chat File?` + '</h3>', 'del_chat');
|
||||
});
|
||||
|
||||
$('#advanced_div').click(function () {
|
||||
|
Reference in New Issue
Block a user