pub fn validate_codex_model(model: Option<&str>) -> Result<(), AppError>Expand description
Validates the requested model against CODEX_PRO_OAUTH_MODELS.
ยงErrors
Returns AppError::Validation listing the accepted models when the
caller supplied a model outside the whitelist.