mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
Treat ChatGPT hc plan as Enterprise (#15789)
This commit is contained in:
1 parent
b6524514c1
commit
eee692e351
3 files changed
+45
-1
No files matched your search
@@ -72,7 +72,7 @@ impl PlanType {
|
||||
"pro" => Self::Known(KnownPlan::Pro),
|
||||
"team" => Self::Known(KnownPlan::Team),
|
||||
"business" => Self::Known(KnownPlan::Business),
|
||||
"enterprise" => Self::Known(KnownPlan::Enterprise),
|
||||
"enterprise" | "hc" => Self::Known(KnownPlan::Enterprise),
|
||||
"education" | "edu" => Self::Known(KnownPlan::Edu),
|
||||
_ => Self::Unknown(raw.to_string()),
|
||||
}
|
||||
@@ -88,6 +88,7 @@ pub enum KnownPlan {
|
||||
Pro,
|
||||
Team,
|
||||
Business,
|
||||
#[serde(alias = "hc")]
|
||||
Enterprise,
|
||||
Edu,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user