You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Facing issues with reasoning items when using gpt-5.1 with store=False. #2265
Have you searched for related issues? Others may have faced similar issues. - yes
Describe the bug
Getting an error when using gpt-5.1 with the latest version (0.6.5) of agents-sdk. openai.NotFoundError: Error code: 404 - {'error': {'message': "Item with id 'rs_0c248120afa4205101695e04db35c481909a9dd12c3f4d8a89' not found. Items are not persisted when storeis set to false. Try again withstore set to true, or remove this item from your input.", 'type': 'invalid_request_error', 'param': 'input', 'code': None}}
When you turn store option off, your model settings need to have response_include=["reasoning.encrypted_content"]. This SDK does not automatically set it under the hood because non-reasoning models such as gpt-4.1 do not work with the option. Please pass the additional option to your ModelSettings.
Activity
seratch commentedon Jan 7, 2026
When you turn store option off, your model settings need to have
response_include=["reasoning.encrypted_content"]. This SDK does not automatically set it under the hood because non-reasoning models such as gpt-4.1 do not work with the option. Please pass the additional option to your ModelSettings.HailTheLotusJewel commentedon Jan 7, 2026
@seratch yes that solved the issue, I just found it as well. Thanks!
fix(ci): keep gpt-5.5 for issue triage by inlining encrypted reasoning (