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. Only Claude has an authoritative Models API today; 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