Replace debounced save with regular

This commit is contained in:
Cohee
2025-02-25 21:32:39 +02:00
parent 7def85a174
commit eceaa9cacc

View File

@ -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;