Treat ChatGPT hc plan as Enterprise (#15789)

This commit is contained in:
arnavdugar-openai authored and GitHub committed 2026-03-25 15:41:29 -07:00
1 parent b6524514c1
commit eee692e351
3 files changed
+45 -1

No files matched your search

+2 -1
View File
@@ -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,
}