mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-12 21:02:17 +02:00
Previously catalog readers (listOnboardingModels, getChatModelIds) fetched models.dev inline on a 24h TTL, while the reasoning-capability paths read the cache only — so a signed-in install could run forever with no cache and the effort chip never appeared, and catalog calls could stall on a slow third-party fetch. Now main calls startModelsDevRefresh() once at boot: refresh if the cache is missing or older than 24h, then every 24h while running, with a 10s fetch timeout, errors logged and swallowed (existing cache stays in use). Every consumer reads the on-disk cache only. Catalog-shaped readers (models:list, gateway annotation) await the warm-up's first attempt so a fresh install's first list sees the fetched data; the turn-start capability gate never waits. A missing cache is an empty catalog, not an error — chat is unaffected either way. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .pnpm-store/v11 | ||
| apps | ||
| docs | ||
| packages | ||
| .gitignore | ||
| ANALYTICS.md | ||
| CODE_MODE_ENGINES_PLAN.md | ||
| eslint.config.mts | ||
| LIVE_NOTE.md | ||
| MINI_APPS_PLAN.md | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| tsconfig.base.json | ||
| VIDEO_MODE.md | ||