AI SDK + OpenAI: reasoning item 'without its required following item'
Summary When OpenAI Responses reasoning-model tool calls in AI SDK fail because a reasoning item lacks its required following item, update ai and @ai-sdk/openai, then consider store: false with include: ['reasoning.encrypted_content']. The maintainer's example was not verified as a complete fix for every variant.