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

latest releases: @ai-sdk/workflow-harness@1.0.150, @ai-sdk/workflow@2.0.71, @ai-sdk/vue@4.0.139...
5 hours ago

Patch Changes

  • 216e2c9: fix(openai): send assistant text with content instead of an item reference when its reasoning was removed

    With reasoning models and store: true, pruning reasoning (e.g. pruneMessages({ reasoning: 'all' })) caused follow-up requests to fail with "Item 'msg_...' of type 'message' was provided without its required 'reasoning' item". Assistant text parts are now only sent as item references when they are preceded by reasoning in the same assistant message.

Don't miss a new ai release

NewReleases is sending notifications on new releases.