INTERACTIVE_MODEL_FETCH_TIMEOUT_MS
constINTERACTIVE_MODEL_FETCH_TIMEOUT_MS:12000=12_000
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/providers/modelDiscovery.ts:492
CFG-21 — the timeout for the interactive first-run model fetch. The dialog is
blocking on a human who just picked a provider, so it can afford to wait a lot
longer than the background probes for a large cloud catalog (OpenRouter ~300
models) to arrive over a cold connection, rather than losing the 2s race and
silently dropping to a 3-item curated stub. Threaded per-call so ONLY the dialog
uses it — detectProviders / resolveInitModel stay on the short
DISCOVERY_TIMEOUT_MS probe (a long global would hang the provider step
whenever the local Ollama daemon is down).