Skip to content

Commit

Permalink
Merge pull request #109 from dongri/add-4o-models
Browse files Browse the repository at this point in the history
Add models
  • Loading branch information
dongri authored Sep 11, 2024
2 parents 17759c5 + ebf2e43 commit c57c4c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/v1/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ pub struct EmptyRequestBody {}

// 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";

// https://platform.openai.com/docs/models/gpt-4o
pub const GPT4_O: &str = "gpt-4o";
pub const GPT4_O_2024_05_13: &str = "gpt-4o-2024-05-13";
pub const GPT4_O_2024_08_06: &str = "gpt-4o-2024-08-06";
pub const GPT4_O_LATEST: &str = "chatgpt-4o-latest";

// https://platform.openai.com/docs/models/gpt-3-5
pub const GPT3_5_TURBO_1106: &str = "gpt-3.5-turbo-1106";
Expand Down

0 comments on commit c57c4c2

Please sign in to comment.