Skip to content

Commit 1944eba

Browse files
authored
Merge pull request #162 from dongri/o3
Add o3 models
2 parents 962baf8 + 3d91fcc commit 1944eba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/v1/common.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ macro_rules! impl_builder_methods {
2424
#[derive(Debug, Serialize, Deserialize)]
2525
pub struct EmptyRequestBody {}
2626

27+
// https://platform.openai.com/docs/models/o3
28+
pub const O3: &str = "o3";
29+
pub const O3_2025_04_16: &str = "o3-2025-04-16";
30+
pub const O3_MINI: &str = "o3-mini";
31+
pub const O3_MINI_2025_01_31: &str = "o3-mini-2025-01-31";
32+
2733
// https://platform.openai.com/docs/models#gpt-4-5
2834
pub const GPT4_5_PREVIEW: &str = "gpt-4.5-preview";
2935
pub const GPT4_5_PREVIEW_2025_02_27: &str = "gpt-4.5-preview-2025-02-27";

0 commit comments

Comments
 (0)