mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-17 15:34:54 +00:00
907 B
907 B
Zero data retention (ZDR) usage
Codex CLI does support OpenAI organizations with Zero Data Retention (ZDR) enabled. If your OpenAI organization has Zero Data Retention enabled and you still encounter errors such as:
OpenAI rejected the request. Error details: Status: 400, Code: unsupported_parameter, Type: invalid_request_error, Message: 400 Previous response cannot be used for this organization due to Zero Data Retention.
Ensure you are running codex with --config disable_response_storage=true or add this line to ~/.code/config.toml (Code still reads legacy ~/.codex/config.toml) to avoid specifying the command line option each time:
disable_response_storage = true
See the configuration documentation on disable_response_storage for details.