Repository navigation
fix(codex): add Ultrafast catalog metadata and usage badges - #507
Open
zhao33079-zhao wants to merge 1 commit into
Open
zhao33079-zhao wants to merge 1 commit into
zhao33079-zhao wants to merge 1 commit into
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.
Problem
The bundled catalog advertises only Fast for GPT-6.1 Sol and GPT-6 Astra, so Codex cannot offer Ultrafast when it uses ECPA's generated catalog. Usage request details also omit the speed badge for
service_tier: "ultrafast", even when that value is present in the recorded request.Changes
service_tiersandadditional_speed_tiers, and advance the bundled catalog revision from 7 to 8. Existing Fast metadata, default tiers, and other models are preserved. Availability follows the official speed documentation; catalog support does not grant account access.ultrafastbadge next to the reasoning effort in usage request details. Keeppriority/fastbadges unchanged.ultrafastwith a reporteddefaultremains visible without rewriting either value or claiming a scheduling/billing confirmation.This uses the tier-preservation and on-disk reload behavior already merged in #452. Routing, usage collection, pricing, and speed calculations retain their existing behavior.
Validation
bun run checkandbun run build: passed.node tests/usage-service-tier-ui.cjs: passed with headless Edge; all external requests blocked in the fixture.cargo test --locked codex_catalogrun could not complete because crates.io dependency downloads failed with TLS/transfer errors in the local environment.