Replace debounced save with regular
| @@ -998,7 +998,7 @@ function parseReasoningFromString(str, { strict = true } = {}) { | |||
| 998 | } | 998 | } |
| 999 | 999 | ||
| 1000 | function registerReasoningAppEvents() { | 1000 | function 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() { | |||
| 1048 | 1048 | ||
| 1049 | if (contentUpdated) { | 1049 | if (contentUpdated) { |
| 1050 | syncMesToSwipe(); | 1050 | syncMesToSwipe(); |
| 1051 | saveChatDebounced(); | 1051 | await saveChatConditional(); |
| 1052 | 1052 | ||
| 1053 | // Find if a message already exists in DOM and must be updated | 1053 | // 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; |