New
4.1.0
Added
- batch: make
OpenAIinterface extendBatchinterface (#433). - responses: add Responses API support (
create,retrieve,cancel,delete, andinput_itemslisting). - chat: add
web_search_optionsrequest support. - chat: expose
annotationsandreasoning_contentin chat message payloads. - chat: support
requiredtool choice mode (#429).
Fixed
- chat: make
ChatCompletionRequestBuilder.reasoningEffort,store, andmaxCompletionTokensconfigurable. - chat: improve
ChatResponseFormatcompatibility by supporting both primitive and object variants. - chat: always encode
JsonSchema.strict, including its defaulttruevalue (#430). - chat: set explicit JSON class discriminator for polymorphic
ContentPartserialization. - images: stabilize image edit uploads for live API compatibility (#459).
- tests: remove flaky external image URL dependency from chat vision live tests.
- tests: stabilize vector store live tests with current API behavior (#459).
Changed
- tests: make
openai-clientlive API tests opt-in viaOPENAI_LIVE_TESTS=1. - ci: split billable live tests into a small JVM smoke job and a separate full-live workflow.
- docs: fix RetrievalTool usage in Getting Started guide (#427).