Skip to main content

fetch_model_catalog

Function fetch_model_catalog 

Source
pub async fn fetch_model_catalog(
    access_token: &str,
) -> Option<Vec<CatalogModel>>
Expand description

Fetch the authoritative model catalog. Returns None (→ caller uses the bundled fallback) on network error, non-2xx (incl. 401 token expiry), or an empty/garbled body. Never logs the token.