Skip to content

fix(core): tolerate model catalog fetch failure - #41367

Open
opencode-agent[bot] wants to merge 3 commits into
devfrom
custom-model-catalog
Open

fix(core): tolerate model catalog fetch failure#41367
opencode-agent[bot] wants to merge 3 commits into
devfrom
custom-model-catalog

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • degrade to an empty remote model catalog when the initial catalog fetch fails
  • allow boot to continue so config-declared providers and models are still registered
  • retain the existing error log and add regression coverage for an unavailable catalog endpoint

Checks

  • bun test test/models.test.ts (packages/core)
  • bun typecheck (packages/core)
  • bun x prettier --check packages/core/src/models-dev.ts packages/core/test/models.test.ts

Requested by: @rekram1-node (Aiden Cline via Slack)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant