Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openai/openai-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.58.0
Choose a base ref
...
head repository: openai/openai-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.59.0
Choose a head ref
  • 9 commits
  • 34 files changed
  • 4 contributors

Commits on Nov 23, 2026

  1. 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.
    marcuswood-oai authored Nov 23, 2026
    Configuration menu
    Copy the full SHA
    9d7f58e View commit details
    Browse the repository at this point in the history
  2. 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.
    marcuswood-oai authored Nov 23, 2026
    Configuration menu
    Copy the full SHA
    7596fb8 View commit details
    Browse the repository at this point in the history
  3. 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.
    marcuswood-oai authored Nov 23, 2026
    Configuration menu
    Copy the full SHA
    3326749 View commit details
    Browse the repository at this point in the history
  4. 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.
    marcuswood-oai authored Nov 23, 2026
    Configuration menu
    Copy the full SHA
    dd69803 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2026

  1. 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.
    marcuswood-oai authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    bc02da4 View commit details
    Browse the repository at this point in the history
  2. 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.
    marcuswood-oai authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    6805f05 View commit details
    Browse the repository at this point in the history
  3. 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.
    marcuswood-oai authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    abbd379 View commit details
    Browse the repository at this point in the history
  4. 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]>
    yoni-oai and yoni-oai authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    804a9af View commit details
    Browse the repository at this point in the history
  5. release: 3.59.0 (#4318)

    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>
    openai-sdks[bot] authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    d296ec3 View commit details
    Browse the repository at this point in the history
Loading