Skip to content

Commit 499e4ce

Browse files
authoredFeb 28, 2025
Merge pull request #150 from dongri/chatgpt-4.5
Add gpt4.5 model
2 parents 5b29802 + 6fb04be commit 499e4ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/v1/common.rs

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ macro_rules! impl_builder_methods {
2424
#[derive(Debug, Serialize, Deserialize)]
2525
pub struct EmptyRequestBody {}
2626

27+
// https://platform.openai.com/docs/models#gpt-4-5
28+
pub const GPT4_5_PREVIEW: &str = "gpt-4.5-preview";
29+
pub const GPT4_5_PREVIEW_2025_02_27: &str = "gpt-4.5-preview-2025-02-27";
30+
2731
// https://platform.openai.com/docs/models/o1
2832
pub const O1_PREVIEW: &str = "o1-preview";
2933
pub const O1_PREVIEW_2024_09_12: &str = "o1-preview-2024-09-12";

0 commit comments

Comments
 (0)