mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
Add Pro Max plan support and update Pro display names (#47971)
## What changed - Recognize `promax` in authentication, account responses, and backend rate limits; update generated schemas and client types. - Display `prolite` as “Pro”, `pro` as “Pro (More)”, and `promax` as “Pro (Max)” in account labels, status, and analytics. - Include Pro Max in experimental context eligibility, paid-plan tooltips, and usage-limit guidance for purchasing credits. ## Testing Extend coverage for Pro Max plan parsing, account and rate-limit responses, experimental context eligibility, and plan display names. Update the login token test to expect “Pro (More)”. GitOrigin-RevId: 197e00fa7a99cbce125c8f1d43a451ec1ed5c1fb
This commit is contained in:
@@ -3327,6 +3327,7 @@
|
||||
"plus",
|
||||
"pro",
|
||||
"prolite",
|
||||
"promax",
|
||||
"team",
|
||||
"self_serve_business_prolite",
|
||||
"self_serve_business_usage_based",
|
||||
|
||||
+1
@@ -16235,6 +16235,7 @@
|
||||
"plus",
|
||||
"pro",
|
||||
"prolite",
|
||||
"promax",
|
||||
"team",
|
||||
"self_serve_business_prolite",
|
||||
"self_serve_business_usage_based",
|
||||
|
||||
+1
@@ -12267,6 +12267,7 @@
|
||||
"plus",
|
||||
"pro",
|
||||
"prolite",
|
||||
"promax",
|
||||
"team",
|
||||
"self_serve_business_prolite",
|
||||
"self_serve_business_usage_based",
|
||||
|
||||
+1
@@ -29,6 +29,7 @@
|
||||
"plus",
|
||||
"pro",
|
||||
"prolite",
|
||||
"promax",
|
||||
"team",
|
||||
"self_serve_business_prolite",
|
||||
"self_serve_business_usage_based",
|
||||
|
||||
@@ -69,6 +69,7 @@
|
||||
"plus",
|
||||
"pro",
|
||||
"prolite",
|
||||
"promax",
|
||||
"team",
|
||||
"self_serve_business_prolite",
|
||||
"self_serve_business_usage_based",
|
||||
|
||||
+1
@@ -29,6 +29,7 @@
|
||||
"plus",
|
||||
"pro",
|
||||
"prolite",
|
||||
"promax",
|
||||
"team",
|
||||
"self_serve_business_prolite",
|
||||
"self_serve_business_usage_based",
|
||||
|
||||
@@ -84,6 +84,7 @@
|
||||
"plus",
|
||||
"pro",
|
||||
"prolite",
|
||||
"promax",
|
||||
"team",
|
||||
"self_serve_business_prolite",
|
||||
"self_serve_business_usage_based",
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
-1
@@ -2,4 +2,4 @@
|
||||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type PlanType = "free" | "go" | "plus" | "pro" | "prolite" | "team" | "self_serve_business_prolite" | "self_serve_business_usage_based" | "business" | "ent26" | "enterprise_cbp_automation" | "enterprise_cbp_usage_based" | "enterprise" | "edu" | "edu_plus" | "edu_pro" | "unknown";
|
||||
export type PlanType = "free" | "go" | "plus" | "pro" | "prolite" | "promax" | "team" | "self_serve_business_prolite" | "self_serve_business_usage_based" | "business" | "ent26" | "enterprise_cbp_automation" | "enterprise_cbp_usage_based" | "enterprise" | "edu" | "edu_plus" | "edu_pro" | "unknown";
|
||||
|
||||
Reference in New Issue
Block a user