Multi-turn image editing failing with ZDR

Since yesterday (last few hours), I have started getting this error:

Sorry, that failed: Error code: 404 - {‘error’: {‘message’: “Item with id ‘ig_0a40c4f1ad13e3ce016a2302a0835881a3abcf73d5bd338c46’ 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.”, ‘type’: ‘invalid_request_error’, ‘param’: ‘input’, ‘code’: None}}

In case of ZDR (zero-data-retention with store=False), it should still work since we are also passing in the result key with the generated image.

Currently the API bas broken completely because we have store=False and multiple image_generation_call messages in history. Removing these messages will break / spoil the history.

I feel there is bug in API which is simply rejecting image_generation_call when store=False is passed. It should still honour the history if the result is also provided in the image_generation_call.

2 Likes