Skip to main content

register_model

Function register_model 

Source
pub fn register_model(model: Model)
Expand description
Stable since 0.63.0
Register a model at runtime.

Call this during startup for each custom provider’s model. If a model with the same provider/model_id key already exists, the new one replaces it.