Repository navigation
refactor: align codex provider and local runtime - #415
Conversation
Replace the codex provider's Chat Completions path with the ChatGPT-backed Responses SSE wire protocol. Add ADR/task packets for the local CLI boundary and workspace/session refactor direction.
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR introduces two independent architectural boundaries: a local CLI session manager protocol to decouple the REPL from server HTTP session management, and a Codex-specific Responses wire protocol provider with OAuth token refresh and SSE streaming. ChangesLocal CLI Runtime Boundary
Codex Responses Provider Implementation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Root cause
The old codex provider treated the ChatGPT Codex backend as an OpenAI-compatible Chat Completions endpoint. Official Codex CLI uses the Responses wire protocol against /backend-api/codex/responses.
Validation
Summary by CodeRabbit
Release Notes
New Features
Documentation
Bug Fixes & Improvements