Repository navigation
Comparing changes
Open a pull request
base repository: openai/openai-python
base: v3.58.0
head repository: openai/openai-python
compare: v3.59.0
- 9 commits
- 34 files changed
- 4 contributors
Commits on Nov 23, 2026
-
fix: redact credential headers on API error requests (#4316)
Use the existing sensitive-header list for request copies attached to API errors. Both `error.request` and `error.response.request` point to the same copy. Redirect history and pending redirects follow the same rule. The transport keeps its original request. Callers that resend a request from an error must reapply authentication. This change is limited to known request headers on these public attributes. Verified with sync and async client, streaming, authentication, and redirect tests (654 passed, 36 skipped), Ruff, and ty.
Configuration menu - View commit details
-
Copy full SHA for 9d7f58e - Browse repository at this point
Copy the full SHA 9d7f58eView commit details -
fix: use bearer authentication for beta Realtime sessions (#4317)
Match the current Realtime client secret endpoint’s authentication policy for legacy session and transcription session creation. Both sync and async clients use the regular API key. An admin key alone no longer satisfies authentication. Verified with 81 focused credential, Realtime, and authentication tests, plus Ruff and ty.
Configuration menu - View commit details
-
Copy full SHA for 7596fb8 - Browse repository at this point
Copy the full SHA 7596fb8View commit details -
ci: run demos with only SDK runtime dependencies (#4320)
## Changes being requested Install only the locked SDK runtime dependencies for the examples job. Run both demos directly with the prepared Python interpreter so the demo steps do not sync any additional packages. ## Additional context & links Verified both demos against a local mock API using Python 3.10 and the CI-pinned uv version. All four requests passed. Focused workflow tests passed (11 passed, 1 skipped). The live examples job runs only on pushes to main.
Configuration menu - View commit details
-
Copy full SHA for 3326749 - Browse repository at this point
Copy the full SHA 3326749View commit details -
fix: reject empty webhook signing keys (#4321)
## Changes being requested Raise `ValueError` when a webhook secret is empty after decoding, consistent with a missing secret. Valid raw and prefixed secrets keep their existing behavior. ## Additional context & links Updated the sync and async signature tests to expect a configuration error for empty keys. All 232 webhook tests passed. Also checked `unwrap()` with an empty environment variable on both clients. Ruff and ty passed for the changed files.
Configuration menu - View commit details
-
Copy full SHA for dd69803 - Browse repository at this point
Copy the full SHA dd69803View commit details
Commits on Nov 24, 2026
-
fix: check the agent upload directory after path resolution (#4323)
## Changes being requested Compare the selected directory with the resolved directory before selecting files. Reject a change of identity and keep support for symlinks in parent paths. This check is limited to path resolution. ## Additional context & links Sync and async regression tests verify that a change during path resolution stops preparation before any upload. Both failed before the change. The existing parent alias tests also passed. The agent streaming suite had 383 passes and 14 skips. Ruff and ty passed for both files.
Configuration menu - View commit details
-
Copy full SHA for bc02da4 - Browse repository at this point
Copy the full SHA bc02da4View commit details -
docs: explain how to skip duplicate webhook events (#4325)
## Changes being requested Add one sentence before both webhook examples recommending the verified `webhook-id` as an idempotency key, consistent with the [webhooks guide](https://developers.openai.com/api/docs/guides/webhooks). ## Additional context & links All five README metadata tests passed. No SDK or example code changes.
Configuration menu - View commit details
-
Copy full SHA for 6805f05 - Browse repository at this point
Copy the full SHA 6805f05View commit details -
fix: reject non-finite numbers in agent tool arguments (#4326)
## Changes being requested Check decoded beta agent session tool arguments for non-finite floats before invoking a local handler. Both JSON strings and objects use the existing argument error path, including values nested in arrays or objects and numbers that overflow to infinity. ## Additional context & links The sync and async regression tests verify that the handler is skipped and the tool result contains only the standard error. The agent streaming suite had 391 passes and 14 skips. Ruff and ty passed for both files.
Configuration menu - View commit details
-
Copy full SHA for abbd379 - Browse repository at this point
Copy the full SHA abbd379View commit details -
feat(api): add healthcare model IDs for Responses (#4327)
## Summary Adds four healthcare model IDs to Responses model type hints. ## Changes - Use the healthcare model IDs in typed Responses requests. Co-authored-by: yoni-oai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 804a9af - Browse repository at this point
Copy the full SHA 804a9afView commit details -
Automated Release PR --- ## [3.59.0](v3.58.0...v3.59.0) (2026-11-24) ### Features * **api:** add healthcare model IDs for Responses ([#4327](#4327)) ([804a9af](804a9af)) ### Bug Fixes * check the agent upload directory after path resolution ([#4323](#4323)) ([bc02da4](bc02da4)) * redact credential headers on API error requests ([#4316](#4316)) ([9d7f58e](9d7f58e)) * reject empty webhook signing keys ([#4321](#4321)) ([dd69803](dd69803)) * reject non-finite numbers in agent tool arguments ([#4326](#4326)) ([abbd379](abbd379)) * use bearer authentication for beta Realtime sessions ([#4317](#4317)) ([7596fb8](7596fb8)) ### Documentation * explain how to skip duplicate webhook events ([#4325](#4325)) ([6805f05](6805f05)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: openai-sdks[bot] <284451331+openai-sdks[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d296ec3 - Browse repository at this point
Copy the full SHA d296ec3View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.58.0...v3.59.0