open_ai: Include o3-mini in Model::from_id (#24261)

This commit is contained in:
Patrick Detlefsen 2025-02-05 22:45:38 +01:00 committed by GitHub
parent b7244af093
commit c0dd7e8367
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,6 +103,7 @@ impl Model {
"o1" => Ok(Self::O1),
"o1-preview" => Ok(Self::O1Preview),
"o1-mini" => Ok(Self::O1Mini),
"o3-mini" => Ok(Self::O3Mini),
_ => Err(anyhow!("invalid model id")),
}
}