Description
Getting this error when running openai reasoning models with the responses API and store: false:
Item with id 'rs_...' not found. Items are not persisted when `store` is set to false. Try again with `store` set to true, or remove this item from your input.
From the request body, it looks like the id is present on a previous message reasoning block:
{
"type": "reasoning",
"id": "rs_...",
"encrypted_content": null,
"summary": []
},
I haven't checked the code, but I imagine the provider code assumes it can always send the encrypted reasoning as null with the id, but when store is set to false it needs to be included directly on the request.
This was working fine on v4 afaict
AI SDK Version
Description
Getting this error when running openai reasoning models with the responses API and
store: false:From the request body, it looks like the id is present on a previous message reasoning block:
I haven't checked the code, but I imagine the provider code assumes it can always send the encrypted reasoning as null with the id, but when store is set to false it needs to be included directly on the request.
This was working fine on v4 afaict
AI SDK Version