dsh-tg-bridge 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bridge.mjs +2 -2
- package/package.json +1 -1
package/bridge.mjs
CHANGED
|
@@ -955,7 +955,7 @@ async function startProgress(chatId, threadId, lang = 'ru') {
|
|
|
955
955
|
}
|
|
956
956
|
};
|
|
957
957
|
|
|
958
|
-
|
|
958
|
+
function schedule() {
|
|
959
959
|
dirty = true;
|
|
960
960
|
if (timer) return;
|
|
961
961
|
timer = setTimeout(async () => {
|
|
@@ -965,7 +965,7 @@ async function startProgress(chatId, threadId, lang = 'ru') {
|
|
|
965
965
|
await edit(body());
|
|
966
966
|
}, 3500);
|
|
967
967
|
timer.unref?.();
|
|
968
|
-
}
|
|
968
|
+
}
|
|
969
969
|
|
|
970
970
|
return {
|
|
971
971
|
/** Keep the clock moving during long model thinking: the elapsed time is
|
package/package.json
CHANGED