Skip to content

fix: convert Codex OAuth content parts to Responses format - #341

Merged
PsiACE merged 2 commits into
mainfrom
fix-codex-content-conversion
Oct 5, 2026
Merged

PsiACE merged 2 commits into
mainfrom
fix-codex-content-conversion

Conversation

@PsiACE

@PsiACE PsiACE commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Codex OAuth requests failed with HTTP 400 when Chat Completions content parts were forwarded unchanged to Responses. Convert text, image, and file parts at the provider boundary, including assistant history.

Verified with existing OAuth: strings, text blocks, images, PDFs, and assistant history. make check passed; make test: 574 passed, 20 skipped.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bub bbb5f08 Commit Preview URL

Branch Preview URL
Oct 05 2026, 02:53 AM

@PsiACE
PsiACE marked this pull request as ready for review October 5, 2026 02:54
@PsiACE
PsiACE merged commit 6f23fee into main Oct 5, 2026
11 checks passed
@PsiACE
PsiACE deleted the fix-codex-content-conversion branch October 5, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant