Skip to content

Zero Data Retention Organizations are incompatible with the Responses API/OAI State Management/Tool Calls #605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lattwood opened this issue Apr 25, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@lattwood
Copy link

Describe the bug

When the agents SDK is asked to call a tool via MCP by the model, it expects conversation state to be handled by OpenAI, not locally, and you get Item with id 'rs_REDACTED' not found. Items are not persisted for Zero Data Retention organizations. Remove this item from your input and try again..

Gotta use the Responses API for reasoning summaries, otherwise I'd just switch back to chat completions.

Alternatively- "docs are unclear how to achieve this and I couldn't find any examples".

Debug information

  • Agents SDK version: 0.0.13
  • Python 3.12.6

Repro steps

  • ZDR
  • reasoning model
  • Responses API
  • model decides to call a tool
  • agents sdk fails to call openai api with tool call results.

Expected behavior

OpenAI Agents SDK supports using the Responses API with ZDR organizations and tool calling.

@lattwood lattwood added the bug Something isn't working label Apr 25, 2025
@lattwood lattwood changed the title Zero Data Retention Organizations are incompatible with the Responses API Zero Data Retention Organizations are incompatible with the Responses API/OAI State Management/Tool Calls Apr 25, 2025
@rm-openai
Copy link
Collaborator

We're working on this - @sdcoffey is looking into it!

@lattwood
Copy link
Author

Awesome!

I took a look into the code as well, it does look like there's no way to do this currently w/o modifying the library, so anxiously waiting for it!

@sdcoffey
Copy link

Hey all! Just deployed the fix for this for ZDR orgs, try it out and let me know if things are working now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants