Skip to main content

lookup_model

Function lookup_model 

Source
pub fn lookup_model(provider: &str, model_id: &str) -> Option<Model>
Expand description
Stable since 0.63.0
Look up a model by provider and model ID, checking both dynamic and static registries.

Dynamic models take priority over static ones.