Stabilize chat and cookbook workflows

This commit is contained in:
pewdiepie-archdaemon
2026-07-01 10:09:25 +00:00
parent d8e76003f1
commit d2959c1ae8
12 changed files with 1034 additions and 190 deletions
+3
View File
@@ -227,6 +227,9 @@ function _initModelPickerDropdown() {
const _LOCAL_PROBE_TTL_MS = 5000;
async function _refreshLocalProbe() {
try {
if (window.__odysseusChatBusy || Date.now() < (window.__odysseusChatBusyUntil || 0)) return;
} catch (_) {}
const now = Date.now();
if (now - _localProbeFetchedAt < _LOCAL_PROBE_TTL_MS) return;
_localProbeFetchedAt = now;