Skip to content

Commit d8dd80b

Browse files
feat(api): Add o3-pro model IDs
1 parent 2a345ee commit d8dd80b

File tree

4 files changed

+33
-6
lines changed

4 files changed

+33
-6
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: 111
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

src/openai/types/shared/all_models.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,14 @@
88
__all__ = ["AllModels"]
99

1010
AllModels: TypeAlias = Union[
11-
str, ChatModel, Literal["o1-pro", "o1-pro-2025-03-19", "computer-use-preview", "computer-use-preview-2025-03-11"]
11+
str,
12+
ChatModel,
13+
Literal[
14+
"o1-pro",
15+
"o1-pro-2025-03-19",
16+
"o3-pro",
17+
"o3-pro-2025-06-10",
18+
"computer-use-preview",
19+
"computer-use-preview-2025-03-11",
20+
],
1221
]

src/openai/types/shared/responses_model.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,14 @@
88
__all__ = ["ResponsesModel"]
99

1010
ResponsesModel: TypeAlias = Union[
11-
str, ChatModel, Literal["o1-pro", "o1-pro-2025-03-19", "computer-use-preview", "computer-use-preview-2025-03-11"]
11+
str,
12+
ChatModel,
13+
Literal[
14+
"o1-pro",
15+
"o1-pro-2025-03-19",
16+
"o3-pro",
17+
"o3-pro-2025-06-10",
18+
"computer-use-preview",
19+
"computer-use-preview-2025-03-11",
20+
],
1221
]

src/openai/types/shared_params/responses_model.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,14 @@
1010
__all__ = ["ResponsesModel"]
1111

1212
ResponsesModel: TypeAlias = Union[
13-
str, ChatModel, Literal["o1-pro", "o1-pro-2025-03-19", "computer-use-preview", "computer-use-preview-2025-03-11"]
13+
str,
14+
ChatModel,
15+
Literal[
16+
"o1-pro",
17+
"o1-pro-2025-03-19",
18+
"o3-pro",
19+
"o3-pro-2025-06-10",
20+
"computer-use-preview",
21+
"computer-use-preview-2025-03-11",
22+
],
1423
]

0 commit comments

Comments
 (0)