mirror of
https://github.com/openai/codex.git
synced 2026-10-26 07:58:43 +00:00
## What changed - Read the optional `pdf_c2pa_reservation` flag from file creation responses. - When a reservation is present, include the original creation payload as `pdf_c2pa_create_request` in the upload finalization request. - Keep sending an empty finalization payload when the flag is absent for compatibility with older server responses. ## Testing - Cover reserved hosted PDF uploads and the legacy empty-payload path with mock server tests. GitOrigin-RevId: 454a4b9d872d70766c2bbb6c01d6015f7127af2f