mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fixed poe loading orbit
This commit is contained in:
@@ -84,11 +84,11 @@ function onBotChange() {
|
|||||||
async function generatePoe(finalPrompt) {
|
async function generatePoe(finalPrompt) {
|
||||||
if (poe_settings.auto_purge) {
|
if (poe_settings.auto_purge) {
|
||||||
let count_to_delete = -1;
|
let count_to_delete = -1;
|
||||||
|
|
||||||
if (auto_jailbroken && got_reply) {
|
if (auto_jailbroken && got_reply) {
|
||||||
count_to_delete = 2;
|
count_to_delete = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
await purgeConversation(count_to_delete);
|
await purgeConversation(count_to_delete);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -196,7 +196,7 @@ async function onConnectClick() {
|
|||||||
|
|
||||||
setButtonState(true);
|
setButtonState(true);
|
||||||
is_get_status_poe = true;
|
is_get_status_poe = true;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await checkStatusPoe();
|
await checkStatusPoe();
|
||||||
}
|
}
|
||||||
@@ -208,7 +208,7 @@ async function onConnectClick() {
|
|||||||
|
|
||||||
function setButtonState(value) {
|
function setButtonState(value) {
|
||||||
is_poe_button_press = value;
|
is_poe_button_press = value;
|
||||||
$("#api_loading_poe").css("display", value ? 'block' : 'none');
|
$("#api_loading_poe").css("display", value ? 'inline-block' : 'none');
|
||||||
$("#poe_connect").css("display", value ? 'none' : 'block');
|
$("#poe_connect").css("display", value ? 'none' : 'block');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user