pub fn find_initial_model(
cli_provider: Option<&str>,
cli_model: Option<&str>,
scoped_models: &[Model],
is_continuing: bool,
settings: Option<&Settings>,
available_models: &[Model],
) -> InitialModelResultExpand description
Find the initial model to use based on priority:
- CLI args
- First model from scoped models
- Saved default from settings
- First available model