Skip to main content

validate_model_selection

Function validate_model_selection 

Source
pub fn validate_model_selection(provider: &str, model: &str) -> Result<()>
Expand description

Validate a model selection without preventing newly released or private IDs.

Unknown IDs are accepted deliberately. Known retired IDs return an error; known deprecated IDs remain usable so provider-plan exceptions and staged migrations are not broken.