Something went wrong. Try again.
sloproxy
Something went wrong. Try again.
fix(codex): sanitize downstream UA for direct image calls master
Direct OpenAI image calls can inherit downstream User-Agent values from the Gin request context, which may trigger upstream Cloudflare 1010 blocks. Clone inbound Codex headers for direct image requests and remove only User-Agent before applying defaults. This keeps Version, X-Codex-Turn-Metadata, X-Client-Request-Id, and Originator forwarding intact. Expand direct image regression coverage for downstream identity headers and align edit endpoint expectations with /images/edits.
Author sususu98 Date (Jun 24, 2026, 6:43 AM UTC) Commit 38ed7aef 38ed7aefc62ccc0e2ab59366bcd588b20b7e0e14 Parent 3a13865d 3a13865db82707fcdd61222d788dfa45ac358130