Patch Changes
-
#11707
4109812Thanks @richardscarrott! - feat(openai): supportadditional_toolson the Responses API. Anadditional_toolsblock on aSystemMessage, either bare incontentor wrapped in anon_standardblock, is sent verbatim as a top-level input item preceding the message.additional_toolscannot work anywhere else, so it now throws instead of being dropped: on Chat Completions (setuseResponsesApi: true), or on any message other than aSystemMessage. Assistant messages are exempt. -
#11707
4109812Thanks @richardscarrott! - fix(openai): acceptnon_standard-wrappedconfiguration_updateandmcp_approval_responseblocks. Previously only a bare block incontentwas hoisted to a top-level Responses API input item; a wrapped block, or one on a message built withcontentBlocks, was silently dropped. Chat Completions now also sends the payload of anon_standardblock rather than the wrapper.