mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
Add support for Academic Researchers plans (#55387)
## What changed - Recognize `sci` and `sci_plus` in authentication, account responses, rate limits, and generated client schemas. - Treat both plans as workspace accounts eligible for cloud configuration, and use business analytics routes. - Display “Academic Researchers” and “Academic Researchers Plus” in the TUI and direct users to their admin when usage limits are reached. ## Testing Add coverage for plan parsing, workspace classification, account and rate-limit responses, cloud configuration eligibility, analytics routing, TUI labels, and usage-limit guidance. Exercise installed-app refresh and listing with `sci_plus` authentication. GitOrigin-RevId: b51c5df03029b8bc249d44f11b353a7755e7dd04
This commit is contained in:
@@ -3147,6 +3147,8 @@ class PlanType(str, Enum):
|
||||
edu = "edu"
|
||||
edu_plus = "edu_plus"
|
||||
edu_pro = "edu_pro"
|
||||
sci = "sci"
|
||||
sci_plus = "sci_plus"
|
||||
unknown = "unknown"
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user