Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.74.1"
".": "1.75.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 97
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-a555f81249cb084f463dcefa4aba069f9341fdaf3dd6ac27d7f237fc90e8f488.yml
openapi_spec_hash: 8e590296cd1a54b9508510b0c7a2c45a
config_hash: 5ea32de61ff42fcf5e66cff8d9e247ea
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-5633633cc38734869cf7d993f7b549bb8e4d10e0ec45381ec2cd91507cd8eb8f.yml
openapi_spec_hash: c855121b2b2324b99499c9244c21d24d
config_hash: d20837393b73efdb19cd08e04c1cc9a1
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.75.0 (2025-04-16)

Full Changelog: [v1.74.1...v1.75.0](https://github.com/openai/openai-python/compare/v1.74.1...v1.75.0)

### Features

* **api:** add o3 and o4-mini model IDs ([4bacbd5](https://github.com/openai/openai-python/commit/4bacbd5503137e266c127dc643ebae496cb4f158))

## 1.74.1 (2025-04-16)

Full Changelog: [v1.74.0...v1.74.1](https://github.com/openai/openai-python/compare/v1.74.0...v1.74.1)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "openai"
version = "1.74.1"
version = "1.75.0"
description = "The official Python library for the openai API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/openai/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "openai"
__version__ = "1.74.1" # x-release-please-version
__version__ = "1.75.0" # x-release-please-version
82 changes: 56 additions & 26 deletions src/openai/resources/chat/completions/completions.py

Large diffs are not rendered by default.

24 changes: 18 additions & 6 deletions src/openai/resources/completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ def create(
Determinism is not guaranteed, and you should refer to the `system_fingerprint`
response parameter to monitor changes in the backend.

stop: Up to 4 sequences where the API will stop generating further tokens. The
stop: Not supported with latest reasoning models `o3` and `o4-mini`.

Up to 4 sequences where the API will stop generating further tokens. The
returned text will not contain the stop sequence.

stream: Whether to stream back partial progress. If set, tokens will be sent as
Expand Down Expand Up @@ -319,7 +321,9 @@ def create(
Determinism is not guaranteed, and you should refer to the `system_fingerprint`
response parameter to monitor changes in the backend.

stop: Up to 4 sequences where the API will stop generating further tokens. The
stop: Not supported with latest reasoning models `o3` and `o4-mini`.

Up to 4 sequences where the API will stop generating further tokens. The
returned text will not contain the stop sequence.

stream_options: Options for streaming response. Only set this when you set `stream: true`.
Expand Down Expand Up @@ -472,7 +476,9 @@ def create(
Determinism is not guaranteed, and you should refer to the `system_fingerprint`
response parameter to monitor changes in the backend.

stop: Up to 4 sequences where the API will stop generating further tokens. The
stop: Not supported with latest reasoning models `o3` and `o4-mini`.

Up to 4 sequences where the API will stop generating further tokens. The
returned text will not contain the stop sequence.

stream_options: Options for streaming response. Only set this when you set `stream: true`.
Expand Down Expand Up @@ -703,7 +709,9 @@ async def create(
Determinism is not guaranteed, and you should refer to the `system_fingerprint`
response parameter to monitor changes in the backend.

stop: Up to 4 sequences where the API will stop generating further tokens. The
stop: Not supported with latest reasoning models `o3` and `o4-mini`.

Up to 4 sequences where the API will stop generating further tokens. The
returned text will not contain the stop sequence.

stream: Whether to stream back partial progress. If set, tokens will be sent as
Expand Down Expand Up @@ -863,7 +871,9 @@ async def create(
Determinism is not guaranteed, and you should refer to the `system_fingerprint`
response parameter to monitor changes in the backend.

stop: Up to 4 sequences where the API will stop generating further tokens. The
stop: Not supported with latest reasoning models `o3` and `o4-mini`.

Up to 4 sequences where the API will stop generating further tokens. The
returned text will not contain the stop sequence.

stream_options: Options for streaming response. Only set this when you set `stream: true`.
Expand Down Expand Up @@ -1016,7 +1026,9 @@ async def create(
Determinism is not guaranteed, and you should refer to the `system_fingerprint`
response parameter to monitor changes in the backend.

stop: Up to 4 sequences where the API will stop generating further tokens. The
stop: Not supported with latest reasoning models `o3` and `o4-mini`.

Up to 4 sequences where the API will stop generating further tokens. The
returned text will not contain the stop sequence.

stream_options: Options for streaming response. Only set this when you set `stream: true`.
Expand Down
Loading
Loading