Skip to content

fix(dashboard): recognize Codex Pro Standard, Extra and Max plan variants (#15161) - #15197

Merged
diegosouzapw merged 2 commits into
diegosouzapw:release/v3.8.52from
alltomatos:fix/15161-codex-pro-variants
Oct 8, 2026
Merged

diegosouzapw merged 2 commits into
diegosouzapw:release/v3.8.52from
alltomatos:fix/15161-codex-pro-variants

Conversation

@alltomatos

Copy link
Copy Markdown
Contributor

Closes #15161

  • Aligns normalizePlanTier with OpenAI Codex Pro variants: prolite -> Pro Standard, pro -> Pro Extra, promax -> Pro Max, all under key pro.
  • Updates getCodexPlanLabel in provider connection row to read workspacePlanType.
  • Adds unit tests in provider-limits-ui.test.ts.

normalizePlanTier is shared by every provider, so mapping PRO to Pro Extra
relabeled plain Pro plans of other providers. Pass the provider and only
apply the Codex Pro Standard/Extra/Max mapping for codex. In
getCodexPlanLabel, fall back to workspacePlanType when chatgptPlanType is
blank. Cover both with regression tests.

Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
@diegosouzapw
diegosouzapw merged commit 74416f9 into diegosouzapw:release/v3.8.52 Oct 8, 2026
45 of 51 checks passed
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.

fix(providers): recognize Codex Pro Standard, Extra and Max plan variants

2 participants