Skip to main content

fetch_generic_catalog_models

Function fetch_generic_catalog_models 

Source
pub async fn fetch_generic_catalog_models(
    client: &Client,
    provider_key: &str,
    provider_name: &str,
    base_url: &str,
    api_key: &str,
) -> Result<Vec<CatalogModel>, String>
Expand description

Fetch a generic provider’s /models endpoint.