diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c3ef6db435..ceafc9afb0 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.85.0" + ".": "1.86.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 25b4500060..c9e264655c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 111 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-4865dda2b62927bd141cbc85f81be3d88602f103e2c581e15eb1caded3e3aaa2.yml -openapi_spec_hash: 7d14a9b23ef4ac93ea46d629601b6f6b -config_hash: ed1e6b3c5f93d12b80d31167f55c557c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-3ae9c18dd7ccfc3ac5206f24394665f563a19015cfa8847b2801a2694d012abc.yml +openapi_spec_hash: 48175b03b58805cd5c80793c66fd54e5 +config_hash: 4caff63b74a41f71006987db702f2918 diff --git a/CHANGELOG.md b/CHANGELOG.md index 412b520d51..aa75f7a2fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.86.0 (2025-06-10) + +Full Changelog: [v1.85.0...v1.86.0](https://github.com/openai/openai-python/compare/v1.85.0...v1.86.0) + +### Features + +* **api:** Add o3-pro model IDs ([d8dd80b](https://github.com/openai/openai-python/commit/d8dd80b1b4e6c73687d7acb6c3f62f0bf4b8282c)) + ## 1.85.0 (2025-06-09) Full Changelog: [v1.84.0...v1.85.0](https://github.com/openai/openai-python/compare/v1.84.0...v1.85.0) diff --git a/pyproject.toml b/pyproject.toml index 7add11521c..a9ef5bec90 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openai" -version = "1.85.0" +version = "1.86.0" description = "The official Python library for the openai API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/openai/_version.py b/src/openai/_version.py index 0b85832b85..c0f313e3c3 100644 --- a/src/openai/_version.py +++ b/src/openai/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "openai" -__version__ = "1.85.0" # x-release-please-version +__version__ = "1.86.0" # x-release-please-version diff --git a/src/openai/types/shared/all_models.py b/src/openai/types/shared/all_models.py index db8410773e..fae8c4c8ff 100644 --- a/src/openai/types/shared/all_models.py +++ b/src/openai/types/shared/all_models.py @@ -8,5 +8,14 @@ __all__ = ["AllModels"] AllModels: TypeAlias = Union[ - str, ChatModel, Literal["o1-pro", "o1-pro-2025-03-19", "computer-use-preview", "computer-use-preview-2025-03-11"] + str, + ChatModel, + Literal[ + "o1-pro", + "o1-pro-2025-03-19", + "o3-pro", + "o3-pro-2025-06-10", + "computer-use-preview", + "computer-use-preview-2025-03-11", + ], ] diff --git a/src/openai/types/shared/responses_model.py b/src/openai/types/shared/responses_model.py index 85f154fd84..790c1212f6 100644 --- a/src/openai/types/shared/responses_model.py +++ b/src/openai/types/shared/responses_model.py @@ -8,5 +8,14 @@ __all__ = ["ResponsesModel"] ResponsesModel: TypeAlias = Union[ - str, ChatModel, Literal["o1-pro", "o1-pro-2025-03-19", "computer-use-preview", "computer-use-preview-2025-03-11"] + str, + ChatModel, + Literal[ + "o1-pro", + "o1-pro-2025-03-19", + "o3-pro", + "o3-pro-2025-06-10", + "computer-use-preview", + "computer-use-preview-2025-03-11", + ], ] diff --git a/src/openai/types/shared_params/responses_model.py b/src/openai/types/shared_params/responses_model.py index 3bf0e13731..ca526b8f15 100644 --- a/src/openai/types/shared_params/responses_model.py +++ b/src/openai/types/shared_params/responses_model.py @@ -10,5 +10,14 @@ __all__ = ["ResponsesModel"] ResponsesModel: TypeAlias = Union[ - str, ChatModel, Literal["o1-pro", "o1-pro-2025-03-19", "computer-use-preview", "computer-use-preview-2025-03-11"] + str, + ChatModel, + Literal[ + "o1-pro", + "o1-pro-2025-03-19", + "o3-pro", + "o3-pro-2025-06-10", + "computer-use-preview", + "computer-use-preview-2025-03-11", + ], ]