Repository navigation
Commit 1b2fb74
authored
feat(api): expand agent turn errors and image and audio options (#4245)
## Summary
Adds `max_output_tokens` to agent session turn errors, image context
compression to Responses requests, and input-audio noise-reduction
`strength` to Realtime requests. Sync and async `responses.parse()` and
`responses.stream()` forward `image` through the request like
`responses.create()`.
The generated admin changes reorder existing accessors and exports. The
transformed schema also updates two unreferenced components and restores
the source's exact 64-bit seed bounds; Chat and Decisions SDK code is
unchanged.
Eight focused behavior and signature-parity tests passed on Python 3.10.
All 45 changed generated files match their inventory hashes.
Co-authored-by: dpiet-oai <326640584+dpiet-oai@users.noreply.github.com>1 parent 0f8e5f3 commit 1b2fb74
50 files changed
Lines changed: 8987 additions & 8544 deletions
File tree
- api_reference
- scripts/castiron
- src/openai
- lib
- resources
- admin/organization
- projects
- beta/responses
- responses
- types
- beta
- realtime
- responses
- tests
- api_resources
- beta
- realtime
- translations
- lib/responses
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Large diffs are not rendered by default.
0 commit comments