Passing context between steps of a ZDR tool-calling agent

OAI-SE Reasoning Models & Effort Control Medium Question 9 of 24

Vantage Health runs a tool-calling agent under Zero Data Retention with store set to false. Between steps the agent forwards only the function_call and function_call_output items, and quality on multi-step cases has dropped against the stored version.

What should the agent include in each follow-up request?

Show answer and explanation

AEvery reasoning item, function call and function call output since the last user message

With store set to false the reasoning items carry an encrypted_content property, and the documented pattern is to pass back every reasoning item, function call and function call output since the last user message. A summary is a lossy rendering the model cannot resume from, previous_response_id reads server-side state that Zero Data Retention does not keep, and reasoning.encrypted_content on the include list asks the API to return encrypted reasoning rather than being the channel for sending it back, where one item would not cover the whole step sequence anyway.

Source: developers.openai.com/api/docs/guides/reasoning

Anonymous, no account needed. Your tally stays in this browser.

Next question Start 5 timed questions Browse all 24 original OAI-SE practice questions