Skip to content

Commit 7fda696

Browse files
feat(api): Add o3-pro model IDs
1 parent 3181347 commit 7fda696

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 97
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-4865dda2b62927bd141cbc85f81be3d88602f103e2c581e15eb1caded3e3aaa2.yml
3-
openapi_spec_hash: 7d14a9b23ef4ac93ea46d629601b6f6b
4-
config_hash: ed1e6b3c5f93d12b80d31167f55c557c
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-3ae9c18dd7ccfc3ac5206f24394665f563a19015cfa8847b2801a2694d012abc.yml
3+
openapi_spec_hash: 48175b03b58805cd5c80793c66fd54e5
4+
config_hash: 4caff63b74a41f71006987db702f2918

aliases.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,12 @@ const ResponsesModelO1Pro = shared.ResponsesModelO1Pro
415415
// Equals "o1-pro-2025-03-19"
416416
const ResponsesModelO1Pro2025_03_19 = shared.ResponsesModelO1Pro2025_03_19
417417

418+
// Equals "o3-pro"
419+
const ResponsesModelO3Pro = shared.ResponsesModelO3Pro
420+
421+
// Equals "o3-pro-2025-06-10"
422+
const ResponsesModelO3Pro2025_06_10 = shared.ResponsesModelO3Pro2025_06_10
423+
418424
// Equals "computer-use-preview"
419425
const ResponsesModelComputerUsePreview = shared.ResponsesModelComputerUsePreview
420426

responses/aliases.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,12 @@ const ResponsesModelO1Pro = shared.ResponsesModelO1Pro
415415
// Equals "o1-pro-2025-03-19"
416416
const ResponsesModelO1Pro2025_03_19 = shared.ResponsesModelO1Pro2025_03_19
417417

418+
// Equals "o3-pro"
419+
const ResponsesModelO3Pro = shared.ResponsesModelO3Pro
420+
421+
// Equals "o3-pro-2025-06-10"
422+
const ResponsesModelO3Pro2025_06_10 = shared.ResponsesModelO3Pro2025_06_10
423+
418424
// Equals "computer-use-preview"
419425
const ResponsesModelComputerUsePreview = shared.ResponsesModelComputerUsePreview
420426

shared/shared.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,8 @@ func (r *ResponseFormatTextParam) UnmarshalJSON(data []byte) error {
784784
const (
785785
ResponsesModelO1Pro ResponsesModel = "o1-pro"
786786
ResponsesModelO1Pro2025_03_19 ResponsesModel = "o1-pro-2025-03-19"
787+
ResponsesModelO3Pro ResponsesModel = "o3-pro"
788+
ResponsesModelO3Pro2025_06_10 ResponsesModel = "o3-pro-2025-06-10"
787789
ResponsesModelComputerUsePreview ResponsesModel = "computer-use-preview"
788790
ResponsesModelComputerUsePreview2025_03_11 ResponsesModel = "computer-use-preview-2025-03-11"
789791
// Or some ...[ChatModel]

0 commit comments

Comments
 (0)