v4.0.0
4.0.0 (2025-09-30)
Full Changelog: v3.7.1...v4.0.0
⚠ BREAKING CHANGES
- api:
ResponseFunctionToolCallOutputItem.output
andResponseCustomToolCallOutput.output
now returnstring | Array<ResponseInputText | ResponseInputImage | ResponseInputFile>
instead ofstring
only. This may break existing callsites that assumeoutput
is always a string.
Features
- api: Support images and files for function call outputs in responses, BatchUsage (de7a6c1)
Bug Fixes
- client: remove duplicate outputAsJson function (4718871)