Skip to main content

model_catalog_with_config

Function model_catalog_with_config 

pub async fn model_catalog_with_config(
    config: Option<&Config>,
    model_provider: &str,
) -> (Vec<String>, Option<HashMap<String, ModelPricing>>, bool)
Expand description

Backward-compatible catalog projection for callers that intentionally treat discovery failure as an unavailable catalog. Configured-profile surfaces should call model_catalog_with_config_result to preserve actionable errors.