Replace debounced save with regular

eceaa9cacccebc8f08213230986e9254f1aa30cb

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Showing whitespace changes
public/scripts/reasoning.js+2 -2
@@ -998,7 +998,7 @@ function parseReasoningFromString(str, { strict = true } = {}) {
998}998}
999999
1000function registerReasoningAppEvents() {1000function registerReasoningAppEvents() {
1001 const eventHandler = (/** @type {number} */ idx) => {1001 const eventHandler = async (/** @type {number} */ idx) => {
1002 if (!power_user.reasoning.auto_parse) {1002 if (!power_user.reasoning.auto_parse) {
1003 return;1003 return;
1004 }1004 }
@@ -1048,7 +1048,7 @@ function registerReasoningAppEvents() {
10481048
1049 if (contentUpdated) {1049 if (contentUpdated) {
1050 syncMesToSwipe();1050 syncMesToSwipe();
1051 saveChatDebounced();1051 await saveChatConditional();
10521052
1053 // Find if a message already exists in DOM and must be updated1053 // Find if a message already exists in DOM and must be updated
1054 const messageRendered = document.querySelector(`.mes[mesid="${idx}"]`) !== null;1054 const messageRendered = document.querySelector(`.mes[mesid="${idx}"]`) !== null;