Skip to content

release: 1.35.4 #1497

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 26, 2024
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.35.3"
".": "1.35.4"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 64
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-8fe357c6b5a425d810d731e4102a052d8e38c5e2d66950e6de1025415160bf88.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-3a69e1cc9e1efda3fb82d0fb35961749f886a87594dae9d8d2aa5c60f157f5d2.yml
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 1.35.4 (2024-06-26)

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

### Bug Fixes

* **docs:** fix link to advanced python httpx docs ([#1499](https://github.com/openai/openai-python/issues/1499)) ([cf45cd5](https://github.com/openai/openai-python/commit/cf45cd5942cecec569072146673ddfc0e0ec108e))
* temporarily patch upstream version to fix broken release flow ([#1500](https://github.com/openai/openai-python/issues/1500)) ([4f10470](https://github.com/openai/openai-python/commit/4f10470f5f74fc258a78fa6d897d8ab5b70dcf52))


### Chores

* **doc:** clarify service tier default value ([#1496](https://github.com/openai/openai-python/issues/1496)) ([ba39667](https://github.com/openai/openai-python/commit/ba39667c4faa8e10457347be41334ca9639186d4))

## 1.35.3 (2024-06-20)

Full Changelog: [v1.35.2...v1.35.3](https://github.com/openai/openai-python/compare/v1.35.2...v1.35.3)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ You can directly override the [httpx client](https://www.python-httpx.org/api/#c

- Support for proxies
- Custom transports
- Additional [advanced](https://www.python-httpx.org/advanced/#client-instances) functionality
- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality

```python
from openai import OpenAI, DefaultHttpxClient
Expand Down
3 changes: 3 additions & 0 deletions bin/publish-pypi
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
set -eux
mkdir -p dist
rye build --clean
# Patching importlib-metadata version until upstream library version is updated
# https://github.com/pypa/twine/issues/977#issuecomment-2189800841
"$HOME/.rye/self/bin/python3" -m pip install 'importlib-metadata==7.2.1'
rye publish --yes --token=$PYPI_TOKEN
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.35.3"
version = "1.35.4"
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.35.3" # x-release-please-version
__version__ = "1.35.4" # x-release-please-version
18 changes: 12 additions & 6 deletions src/openai/resources/chat/completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ def create(

- If set to 'auto', the system will utilize scale tier credits until they are
exhausted.
- If set to 'default', the request will be processed in the shared cluster.
- If set to 'default', the request will be processed using the default service
tier with a lower uptime SLA and no latency guarentee.

When this parameter is set, the response body will include the `service_tier`
utilized.
Expand Down Expand Up @@ -363,7 +364,8 @@ def create(

- If set to 'auto', the system will utilize scale tier credits until they are
exhausted.
- If set to 'default', the request will be processed in the shared cluster.
- If set to 'default', the request will be processed using the default service
tier with a lower uptime SLA and no latency guarentee.

When this parameter is set, the response body will include the `service_tier`
utilized.
Expand Down Expand Up @@ -550,7 +552,8 @@ def create(

- If set to 'auto', the system will utilize scale tier credits until they are
exhausted.
- If set to 'default', the request will be processed in the shared cluster.
- If set to 'default', the request will be processed using the default service
tier with a lower uptime SLA and no latency guarentee.

When this parameter is set, the response body will include the `service_tier`
utilized.
Expand Down Expand Up @@ -812,7 +815,8 @@ async def create(

- If set to 'auto', the system will utilize scale tier credits until they are
exhausted.
- If set to 'default', the request will be processed in the shared cluster.
- If set to 'default', the request will be processed using the default service
tier with a lower uptime SLA and no latency guarentee.

When this parameter is set, the response body will include the `service_tier`
utilized.
Expand Down Expand Up @@ -1006,7 +1010,8 @@ async def create(

- If set to 'auto', the system will utilize scale tier credits until they are
exhausted.
- If set to 'default', the request will be processed in the shared cluster.
- If set to 'default', the request will be processed using the default service
tier with a lower uptime SLA and no latency guarentee.

When this parameter is set, the response body will include the `service_tier`
utilized.
Expand Down Expand Up @@ -1193,7 +1198,8 @@ async def create(

- If set to 'auto', the system will utilize scale tier credits until they are
exhausted.
- If set to 'default', the request will be processed in the shared cluster.
- If set to 'default', the request will be processed using the default service
tier with a lower uptime SLA and no latency guarentee.

When this parameter is set, the response body will include the `service_tier`
utilized.
Expand Down
3 changes: 2 additions & 1 deletion src/openai/types/chat/completion_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ class CompletionCreateParamsBase(TypedDict, total=False):

- If set to 'auto', the system will utilize scale tier credits until they are
exhausted.
- If set to 'default', the request will be processed in the shared cluster.
- If set to 'default', the request will be processed using the default service
tier with a lower uptime SLA and no latency guarentee.

When this parameter is set, the response body will include the `service_tier`
utilized.
Expand Down