Skip to main content

get_model

Function get_model 

Source
pub fn get_model(provider: &str, model_id: &str) -> Option<&'static Model>
Expand description

Runtime model registry for dynamically registered models.

Unlike the static model_db, this supports adding/removing models at runtime. Convenience function to get a model (static registry only – use lookup_model for dynamic too)