Fix Codex Fast-mode defaults for Business accounts#237
Merged
Conversation
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.
Summary
Fix Codex service-tier defaults for eligible ChatGPT Business/Enterprise accounts without removing Fast from the selector.
Root cause: T3 copied
model/list.defaultServiceTierdirectly into every new composer and did not read the provider instance's effectiveconfig/readresult. It could therefore overwrite an explicit Standard choice or the durable[notice] fast_default_opt_out = truemarker with the catalog-managed Fast default. Request construction also needed to preserve an explicit clear value instead of relying on omission.The fix keeps catalog defaults, configured preferences, and per-thread selections distinct:
config/readthrough each Codex provider client/home before mapping that instance's model catalogfastModeand stringfastselections to canonicalpriorityProtocol
Confirmed against Codex
0.145.0and current upstream source: Standard is the explicit request sentinelserviceTier: "default". App-server acceptsnullas a clear input but normalizes it to"default"; T3 therefore transmits the current canonical string and never omits Standard. Helpercodex execcalls use--config service_tier="default".Verification
config/readprobe confirmed opt-out and explicit Standard shapes; config checksum remained unchanged after readsthread/start, firstturn/start, and resumed secondturn/startall contained explicitserviceTier: "default"Coverage includes all requested cases: opt-out, explicit Standard, no-config managed Fast, explicit Fast, Flex, Fast→Standard persistence, saved Standard draft, legacy
fastMode:true, non-eligible Standard fallback, and independent Windows/WSL provider config reads.Windows/WSL: test-covered, NOT yet live-exercised (VM blocked).