mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:50:52 +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:
@@ -140,6 +140,10 @@ pub enum PlanType {
|
||||
EduPlus,
|
||||
#[serde(rename = "edu_pro")]
|
||||
EduPro,
|
||||
#[serde(rename = "sci")]
|
||||
Sci,
|
||||
#[serde(rename = "sci_plus")]
|
||||
SciPlus,
|
||||
#[serde(rename = "unknown", other)]
|
||||
Unknown,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user