Skip to content

Commit

Permalink
Merge pull request #110 from dongri/o1-model
Browse files Browse the repository at this point in the history
Add o1 model
  • Loading branch information
dongri authored Sep 13, 2024
2 parents c57c4c2 + e0406d0 commit 6194ae2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/v1/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ macro_rules! impl_builder_methods {
#[derive(Debug, Serialize, Deserialize)]
pub struct EmptyRequestBody {}

// 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";
pub const O1_MINI: &str = "o1-mini";
pub const O1_MINI_2024_09_12: &str = "o1-mini-2024-09-12";

// https://platform.openai.com/docs/models/gpt-4o-mini
pub const GPT4_O_MINI: &str = "gpt-4o-mini";
pub const GPT4_O_MINI_2024_07_18: &str = "gpt-4o-mini-2024-07-18";
Expand Down

0 comments on commit 6194ae2

Please sign in to comment.