Merge pull request #150 from dongri/chatgpt-4.5

Add gpt4.5 model
This commit is contained in:
Dongri Jin
2025-02-28 23:06:44 +09:00
committed by GitHub

View File

@ -24,6 +24,10 @@ macro_rules! impl_builder_methods {
#[derive(Debug, Serialize, Deserialize)]
pub struct EmptyRequestBody {}
// https://platform.openai.com/docs/models#gpt-4-5
pub const GPT4_5_PREVIEW: &str = "gpt-4.5-preview";
pub const GPT4_5_PREVIEW_2025_02_27: &str = "gpt-4.5-preview-2025-02-27";
// https://platform.openai.com/docs/models/o1
pub const O1_PREVIEW: &str = "o1-preview";
pub const O1_PREVIEW_2024_09_12: &str = "o1-preview-2024-09-12";