Reported by @fallow iron
Bug Report: GPT-5(-mini) with Responses API results in error
`Steps to Reproduce`
- Create a huge data set and upload it to container.
- Include container id to payload for prompt.
- Let GPT-5(-mini) analyze the data.
That's the first turn.
- Use the responseId received from first turn to send the next question related to first turn.
`Expected Result`
Produce and output
`Actual Result`
openai.BadRequestError: Error code: 400 - {'error': {'message': \"Item 'rs_689eaa87a9f88190849e59cd947ec9620fa2d9142b85137b' of type 'reasoning' was provided without its required following item.\", 'type': 'invalid_request_error', 'param': 'input', 'code': None}}"
`Environment`
MacOS, python