Skip to content

Commit 1b2fb74

Browse files
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

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.castiron.stats.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
schema_version: 1
2-
generation_id: 1e96e659-058e-4a54-9f97-e3d170c8ffcb
3-
openapi_spec_hash: 6a7be48d007a467433567c5bc484d255
4-
openapi_transformed_spec_hash: 080d0c8d6057e23ade47b9365739ff24
5-
config_hash: 7899b970b93f43f9af7c0c1238b7658c
6-
codegen_sha: 015da7f882a4b990e03061ab286e7fe0ed9038f3
7-
codegen_hash: 47977aa68c321efcd9a438cb439be83a5da625f063dbe9ab5f5f30c5617ad8a0
2+
generation_id: adbc6820-e7f1-4d48-aa27-b891b2b96f34
3+
openapi_spec_hash: 7a100725044be3f3a874d0c2b8f05009
4+
openapi_transformed_spec_hash: 575878ed4503aa9ea08d5a30d30521a7
5+
config_hash: 6305db264c15c7fb32c1a792518d9c79
6+
codegen_sha: 9083c45367587d52944e7fc35c3ff7afaa56c5ab
7+
codegen_hash: 1fea7bbe33cafa2df1f0335d15cec7ae3d0b542149846f05f6876c6c8bb6332d

‎api.md‎

Lines changed: 54 additions & 54 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)