mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Replace debounced save with regular
This commit is contained in:
@ -998,7 +998,7 @@ function parseReasoningFromString(str, { strict = true } = {}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function registerReasoningAppEvents() {
|
function registerReasoningAppEvents() {
|
||||||
const eventHandler = (/** @type {number} */ idx) => {
|
const eventHandler = async (/** @type {number} */ idx) => {
|
||||||
if (!power_user.reasoning.auto_parse) {
|
if (!power_user.reasoning.auto_parse) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -1048,7 +1048,7 @@ function registerReasoningAppEvents() {
|
|||||||
|
|
||||||
if (contentUpdated) {
|
if (contentUpdated) {
|
||||||
syncMesToSwipe();
|
syncMesToSwipe();
|
||||||
saveChatDebounced();
|
await saveChatConditional();
|
||||||
|
|
||||||
// Find if a message already exists in DOM and must be updated
|
// Find if a message already exists in DOM and must be updated
|
||||||
const messageRendered = document.querySelector(`.mes[mesid="${idx}"]`) !== null;
|
const messageRendered = document.querySelector(`.mes[mesid="${idx}"]`) !== null;
|
||||||
|
Reference in New Issue
Block a user