Skip to content

feat(api): Add gpt-5.5 and tool name/namespace to Responses types - #3569

Merged
jbeckwith-oai merged 1 commit into
mainfrom
castiron/promotions/pr-15-a7af870ed87c
Aug 3, 2026
Merged

feat(api): Add gpt-5.5 and tool name/namespace to Responses types#3569
jbeckwith-oai merged 1 commit into
mainfrom
castiron/promotions/pr-15-a7af870ed87c

Conversation

@apcha-oai

@apcha-oai apcha-oai commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Allow the new gpt-5.5 model in Responses-related parameters and events, and expose optional name and namespace metadata on function/tool call output items in both beta and stable types. These are additive, backward-compatible SDK changes.

Changes

  • Allow the model value "gpt-5.5" in all Responses-related model/type unions and parameter definitions (chat model literals used by Responses create/compact params and client event types) for both beta and stable APIs.
  • Add optional name: Optional[str] and namespace: Optional[str] fields to function/tool-call output item models in both beta and stable (model classes) so callers can access the producing tool's name and namespace.
  • Add corresponding optional name and namespace entries to the TypedDict parameter representations for function/tool-call output items (beta and stable) so typed request/response shapes include the new metadata.
  • No public symbols were removed or renamed and all additions are optional; there are no breaking API contract changes.

Internal pull request: https://github.com/openai/openai-python-internal/pull/15

Validation

  • Generated SDK changes were copied from the internal pull request.
  • Public SDK CI runs against this draft pull request.

Castiron-Internal-PR: openai/openai-python-internal#15
Castiron-Source-SHA: a7af870ed87cc7c9518d468e507165be39f05759
Castiron-Public-Base-SHA: cbdc98b
@apcha-oai apcha-oai changed the title [castiron] promote Python SDK changes feat(api): Add gpt-5.5 and tool name/namespace to Responses types Aug 3, 2026
@apcha-oai
apcha-oai marked this pull request as ready for review August 3, 2026 17:24
@apcha-oai
apcha-oai requested a review from a team as a code owner August 3, 2026 17:24
@openai-sdks

openai-sdks Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

OkTest Summary

237/237 SDK tests passed in 14.073s for Python SDK PR #3569.

Test results — 42 files
Test Result Time
tests/chat-completions-complex-body.test.ts ✅ Passed 302ms
tests/chat-completions-create.test.ts ✅ Passed 373ms
tests/chat-completions-stream.test.ts ✅ Passed 261ms
tests/files-content-binary.test.ts ✅ Passed 241ms
tests/files-create-multipart.test.ts ✅ Passed 228ms
tests/files-list-pagination.test.ts ✅ Passed 281ms
tests/initialize-config.test.ts ✅ Passed 247ms
tests/instance-isolation.test.ts ✅ Passed 273ms
tests/models-list.test.ts ✅ Passed 385ms
tests/responses-background-lifecycle.test.ts ✅ Passed 310ms
tests/responses-body-method-errors.test.ts ✅ Passed 548ms
tests/responses-cancel-timeout.test.ts ✅ Passed 231ms
tests/responses-cancel.test.ts ✅ Passed 333ms
tests/responses-compact-retries.test.ts ✅ Passed 435ms
tests/responses-compact.test.ts ✅ Passed 565ms
tests/responses-create-advanced-stream.test.ts ✅ Passed 174ms
tests/responses-create-advanced.test.ts ✅ Passed 422ms
tests/responses-create-disconnect.test.ts ✅ Passed 1.608s
tests/responses-create-errors.test.ts ✅ Passed 258ms
tests/responses-create-malformed-api-responses.test.ts ✅ Passed 497ms
tests/responses-create-retries.test.ts ✅ Passed 361ms
tests/responses-create-stream-failures.test.ts ✅ Passed 250ms
tests/responses-create-stream-timeout.test.ts ✅ Passed 294ms
tests/responses-create-stream-wire.test.ts ✅ Passed 3.974s
tests/responses-create-stream.test.ts ✅ Passed 94ms
tests/responses-create-terminal-states.test.ts ✅ Passed 393ms
tests/responses-create-timeout.test.ts ✅ Passed 285ms
tests/responses-create.test.ts ✅ Passed 366ms
tests/responses-delete.test.ts ✅ Passed 306ms
tests/responses-input-items-errors.test.ts ✅ Passed 495ms
tests/responses-input-items-list.test.ts ✅ Passed 476ms
tests/responses-input-items-options.test.ts ✅ Passed 440ms
tests/responses-input-tokens-count-timeout.test.ts ✅ Passed 287ms
tests/responses-input-tokens-count.test.ts ✅ Passed 405ms
tests/responses-malformed-inputs.test.ts ✅ Passed 3.081s
tests/responses-not-found-errors.test.ts ✅ Passed 491ms
tests/responses-parse.test.ts ✅ Passed 453ms
tests/responses-retrieve-retries.test.ts ✅ Passed 492ms
tests/responses-retrieve.test.ts ✅ Passed 428ms
tests/responses-stored-method-errors.test.ts ✅ Passed 989ms
tests/retry-behavior.test.ts ✅ Passed 3.393s
tests/sdk-error-shape.test.ts ✅ Passed 351ms

View OkTest run #30836644402

SDK merge (e2e1a2c5691b) · head (acfa6c3099d7) · base (cbdc98b6c1e2) · OkTest (91635c6a2723)

@jbeckwith-oai
jbeckwith-oai merged commit dd1202d into main Aug 3, 2026
20 checks passed
@jbeckwith-oai
jbeckwith-oai deleted the castiron/promotions/pr-15-a7af870ed87c branch August 3, 2026 17:33
@github-actions github-actions Bot mentioned this pull request Aug 3, 2026
@stainless-app stainless-app Bot mentioned this pull request Aug 3, 2026
@github-actions github-actions Bot mentioned this pull request Aug 3, 2026
pull Bot pushed a commit to gitupdates/openai-python that referenced this pull request Aug 3, 2026
Automated Release PR
---


##
[2.53.0](openai/openai-python@v2.52.1...v2.53.0)
(2026-08-03)


### Features

* **api:** Add gpt-5.5 and tool name/namespace to Responses types
([openai#3569](openai#3569))
([dd1202d](openai@dd1202d))


### Bug Fixes

* **ci:** avoid NumPy source builds and duplicate HTTPX coverage
([openai#3573](openai#3573))
([b58332f](openai@b58332f))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Justin Beckwith <jbeckwith@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants