Skip to main content

fetch_provider_catalog

Function fetch_provider_catalog 

pub async fn fetch_provider_catalog(
    config: &Config,
    provider_ref: &str,
) -> Result<Vec<String>>
Expand description

Fetch a provider’s live model catalog — the model IDs advertised by its /models endpoint. Extracted from the catalog probe so models list --check (configured-model verification) and future interactive flows (the quickstart model picker, which also wants pricing) share one fetch path.