mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-07-14 12:48:03 +00:00
Stabilize chat and cookbook workflows
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user