Skip to content

Commit e0406d0

Browse files
committed
Add o1 model
1 parent c57c4c2 commit e0406d0

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/o1
28+
pub const O1_PREVIEW: &str = "o1-preview";
29+
pub const O1_PREVIEW_2024_09_12: &str = "o1-preview-2024-09-12";
30+
pub const O1_MINI: &str = "o1-mini";
31+
pub const O1_MINI_2024_09_12: &str = "o1-mini-2024-09-12";
32+
2733
// https://platform.openai.com/docs/models/gpt-4o-mini
2834
pub const GPT4_O_MINI: &str = "gpt-4o-mini";
2935
pub const GPT4_O_MINI_2024_07_18: &str = "gpt-4o-mini-2024-07-18";

0 commit comments

Comments
 (0)