Patch Changes
-
5e18272: fix(openai): include reasoning parts without itemId when encrypted_content is present
When
providerOptions.openai.itemIdis absent on a reasoning content part,
the converter now usesencrypted_contentas a fallback instead of silently
skipping the part with a warning. The OpenAI Responses API accepts reasoning
items without anidwhenencrypted_contentis supplied, enabling
multi-turn reasoning even when item IDs are stripped from provider options.Also makes the
idfield optional on theOpenAIResponsesReasoningtype to
reflect that the API does not require it.Fixes #12853