feat(openai-codex): persist and send Fast priority mode - #1063
Merged
edelauna merged 2 commits intoJul 31, 2026
Conversation
WebMad
requested review from
JamesRobert20,
edelauna,
hannesrudolph,
navedmerchant and
taltas
as code owners
July 30, 2026 15:13
Contributor
📝 WalkthroughWalkthroughAdds OpenAI Codex service-tier types and provider schema support. Persists tier settings and propagates the priority tier to streaming, fallback SSE, and non-streaming Responses requests. ChangesOpenAI Codex service tier
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant ApiHandlerOptions
participant OpenAiCodexHandler
participant OpenAIResponsesAPI
ApiHandlerOptions->>OpenAiCodexHandler: configured Codex service tier
OpenAiCodexHandler->>OpenAiCodexHandler: map Priority to SERVICE_TIER_KEY
OpenAiCodexHandler->>OpenAIResponsesAPI: streaming or non-streaming Responses request
Possibly related issues
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
edelauna
previously approved these changes
Jul 31, 2026
edelauna
enabled auto-merge
July 31, 2026 03:36
edelauna
force-pushed
the
feat/openai-codex-fast-backend
branch
from
July 31, 2026 03:50
304677b to
2923349
Compare
edelauna
approved these changes
Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Responsibility and scope
Adds backend/configuration support for persisting the OpenAI Codex speed preference and mapping Fast mode to the provider request priority field. Tests travel with the behavior in this PR.
Behavior
Priorityin the OpenAI Codex request.Explicit non-goals
webview-ui/changes and no user-facing selector; that is the next stack PR.Task.throttle.test.tsfix.Test evidence
Stack dependency
Replaces WebMad#2, which targeted the fork repository.
Summary by CodeRabbit
New Features
Bug Fixes