pub fn initial_model(
registry: &ModelRegistry,
default_provider: Option<&str>,
default_model: Option<&str>,
) -> Option<Model>Expand description
The starting model when --model is absent: the saved default if it has
credentials, else the first authenticated provider’s default model, else the
first authenticated model.