3.98.0 (2026-11-09)
Features
- agents: Configure session prompt-cache TTL (
30mor12h) and inspect the selected TTL on sessions and turns. - agents: Support asynchronous function tools.
- agents: Configure event-stream obfuscation and expose padding on 33 event types. For existing session streams, use
option.WithQuery("include_obfuscation", "false")to disable it. - agents: Recognize the
max_output_tokensturn error code. - responses: Configure image context compression for create, compact, and WebSocket requests; report the effective policy in responses.
- responses: Add
gpt-6-rosalindto beta Responses model constants. - images: Support SVG image edits with author-model and reasoning-effort options.
- realtime: Configure input noise-reduction strength for Realtime, transcription, and translation sessions.
- admin: Support organization external keys backed by Oracle Cloud Infrastructure Vault.
Bug fixes
- request unions: Return pointers to stored optional values, so mutations affect the serialized request, including explicit zero values. Omitted and null values still return
nil.
Documentation
- Clarify image-edit markup compatibility, image token-usage descriptions, and supported image formats for content-provenance checks.