Skip to main content

model_catalog

Function model_catalog 

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

Live model catalog for a provider type. (models, pricing, live): live=true means surfaces should render a picker; live=false means fall back to free text. Tries ModelProvider::list_models_with_pricing() first, then the family catalog table (no pricing for fallbacks).