github vercel/ai @ai-sdk/openai@3.0.35

latest releases: @ai-sdk/anthropic@3.0.48, @ai-sdk/google-vertex@4.0.66, @ai-sdk/amazon-bedrock@4.0.67...
7 hours ago

Patch Changes

  • 5e18272: fix(openai): include reasoning parts without itemId when encrypted_content is present

    When providerOptions.openai.itemId is absent on a reasoning content part,
    the converter now uses encrypted_content as a fallback instead of silently
    skipping the part with a warning. The OpenAI Responses API accepts reasoning
    items without an id when encrypted_content is supplied, enabling
    multi-turn reasoning even when item IDs are stripped from provider options.

    Also makes the id field optional on the OpenAIResponsesReasoning type to
    reflect that the API does not require it.

    Fixes #12853

Don't miss a new ai release

NewReleases is sending notifications on new releases.