Skip to main content

get_model

Function get_model 

Source
pub fn get_model(provider: &str, model_id: &str) -> Option<&'static Model>
Expand description
Stable since 0.63.0
Convenience function to get a model (static registry only – use [`lookup_model`] for dynamic too)