Skip to content

release: 6.46.0#1959

Merged
apcha-oai merged 2 commits into
mainfrom
release-please--branches--main--changes--next--components--openai
Jul 9, 2026
Merged

release: 6.46.0#1959
apcha-oai merged 2 commits into
mainfrom
release-please--branches--main--changes--next--components--openai

Conversation

@stainless-app

@stainless-app stainless-app Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Automated Release PR

6.46.0 (2026-07-09)

Full Changelog: v6.45.0...v6.46.0

Features

  • api: gpt-5.6-sol updates (6c397d5)

Bug Fixes

  • assistants: place array delta entries by index instead of appending (#1963) (0e18d30)
  • runner: normalize missing tool call IDs (#1958) (6371623)
  • upgrade next to 15.5.16 in examples (#1967) (95b54e5)

Documentation


This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@openai-sdks

openai-sdks Bot commented Jul 6, 2026

Copy link
Copy Markdown

OkTest Summary

Failed for Node SDK PR #1959.

View OkTest run #29035498353

SDK merge (19cb0e84afc5) · head (8a7ec045102e) · base (c66061537b4a) · OkTest (cb7f0514ccd2)

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--openai branch from a0d4041 to 4371fcc Compare July 6, 2026 16:59
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--openai branch from 4371fcc to 45d5095 Compare July 6, 2026 17:05
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--openai branch from 45d5095 to 01792d8 Compare July 8, 2026 21:42
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--openai branch from 01792d8 to 9a22b04 Compare July 8, 2026 21:42
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--openai branch from 9a22b04 to 13e1dd4 Compare July 8, 2026 21:43
@stainless-app stainless-app Bot changed the title release: 6.45.1 release: 6.46.0 Jul 9, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--openai branch from 13e1dd4 to 1876dfd Compare July 9, 2026 17:00
@apcha-oai apcha-oai merged commit 6153924 into main Jul 9, 2026
17 of 18 checks passed
@stainless-app

stainless-app Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Release is at https://github.com/openai/openai-node/releases/tag/v6.46.0 🌻

HAYDEN-OAI added a commit to openai/openai-agents-js that referenced this pull request Jul 9, 2026
## Summary

- Type the Chat Completions usage adapter as Agents SDK `UsageInput`
instead of the generated Responses API `ResponseUsage`.
- Bump the workspace's direct `openai` dependencies to `^6.46.0` across
the published packages and examples, and regenerate package metadata.
- Add a version-specific `minimumReleaseAgeExclude` for `openai@6.46.0`
so the just-published launch SDK can pass the repository's normal frozen
install policy.
- Add patch changesets for `@openai/agents`, `@openai/agents-core`, and
`@openai/agents-openai`.

## Why


[openai/openai-node#1959](openai/openai-node#1959)
shipped `openai@6.46.0` with the required `cache_write_tokens` field on
`ResponseUsage.InputTokensDetails`. The downstream Agents SDK regression
check failed with TS2741 because `toResponseUsage()` synthesizes an
Agents usage object containing only `cached_tokens`, while its return
annotation incorrectly required the full Responses API output schema.

The value is immediately passed to `new Usage(...)`, whose supported
input boundary is `UsageInput`. Using that type removes the accidental
coupling to generated API output fields and lets required Responses
outputs remain required.

The dependency floor and workspace examples now all use 6.46 so
TypeScript does not load nominally incompatible `OpenAI` classes from
6.44 and 6.46 in the same build. The cooldown exception is scoped to
exactly `openai@6.46.0`, not the package generally.

## Impact

There is no runtime behavior change in the usage adapter. Published
Agents packages now require `openai@^6.46.0`, and the workspace
explicitly validates against the GPT-5.6 launch SDK.

## Validation

- `pnpm changeset:validate-prompt` (patch bumps validated)
- `pnpm install --frozen-lockfile` (normal supply-chain policy passed)
- `bash .agents/skills/code-change-verification/scripts/run.sh`
- Reproduced the original downstream check with the built SDK from
openai/openai-node#1959 linked into a scratch checkout:
  - `pnpm build`
  - `pnpm lint`
  - `pnpm docs:scripts:check`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

1 participant