Skip to main content

Module providers_handlers

Module providers_handlers 

Source
Expand description

RPC: providers.models — authoritative model catalog for a provider, fetched from the Anthropic Models API with the account-global OAuth token.

Best-effort by design: any missing token (e.g. macOS Keychain), expiry, or network failure returns an empty models list, and the frontend keeps its bundled static catalog. Claude’s comes from the Anthropic Models API; Codex’s from the list its CLI caches per account (backend/codex_models.rs); other providers return empty. See backend/model_catalog.rs and docs/specs/SPEC_MODEL_CATALOG_REFRESH_2026_07_02.md.

Structs§

ProvidersModelsParams
ProvidersModelsResult

Functions§

empty_result 🔒
register_providers_handlers