mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev
This commit is contained in:
@ -1539,7 +1539,7 @@ class StreamingProcessor {
|
||||
setGenerationProgress(0);
|
||||
$('.mes_buttons:last').show();
|
||||
generatedPromtCache = '';
|
||||
|
||||
|
||||
console.log("Generated text size:", text.length, text)
|
||||
|
||||
if (power_user.auto_swipe) {
|
||||
@ -5578,6 +5578,27 @@ $(document).ready(function () {
|
||||
|
||||
$("#options [id]").on("click", function () {
|
||||
var id = $(this).attr("id");
|
||||
|
||||
if (id == "option_toggle_AN") {
|
||||
if (selected_group || this_chid !== undefined && $("#floatingPrompt").css("display") === 'none') {
|
||||
$("#floatingPrompt").css("display", "flex");
|
||||
$("#floatingPrompt").css("opacity", 0.0);
|
||||
$("#floatingPrompt").transition({
|
||||
opacity: 1.0,
|
||||
duration: animation_duration,
|
||||
easing: animation_easing,
|
||||
});
|
||||
$("#ANBlockToggle").click();
|
||||
} else {
|
||||
$("#floatingPrompt").transition({
|
||||
opacity: 0.0,
|
||||
duration: 250,
|
||||
easing: animation_easing,
|
||||
});
|
||||
setTimeout(function () { $("#floatingPrompt").hide(); }, 250);
|
||||
}
|
||||
}
|
||||
|
||||
if (id == "option_select_chat") {
|
||||
if ((selected_group && !is_group_generating) || (this_chid !== undefined && !is_send_press)) {
|
||||
displayPastChats();
|
||||
|
Reference in New Issue
Block a user