mirror of
https://github.com/openai/codex.git
synced 2026-05-02 12:21:26 +03:00
Treat ChatGPT hc plan as Enterprise (#15789)
This commit is contained in:
committed by
GitHub
parent
b6524514c1
commit
eee692e351
@@ -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