Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(codex): accept current ChatGPT workspace plans #8294

Closedbitconym(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/8294/headopened View on GitHub

Showing 9 changed files with 92 additions and 2 deletions (loading 5).

x
0 of 9 viewed, 9 left
5 additions and 1 deletionapps/server/src/provider/Layers/CodexProvider.tsModified
View file
@@ -85,14 +85,18 @@
case "prolite":
return "ChatGPT Pro 5x Subscription";
case "team":
- return "ChatGPT Team Subscription";
+ case "self_serve_business_prolite":
case "self_serve_business_usage_based":
case "business":
return "ChatGPT Business Subscription";
+ case "ent26":
+ case "enterprise_cbp_automation":
case "enterprise_cbp_usage_based":
case "enterprise":
return "ChatGPT Enterprise Subscription";
case "edu":
+ case "edu_plus":
+ case "edu_pro":
return "ChatGPT Edu Subscription";
case "unknown":
return "ChatGPT Subscription";
37 additions and 0 deletionsapps/server/src/provider/Layers/ProviderRegistry.test.tsModified
View file
@@ -392,6 +392,43 @@
}),
​
+ it.effect("classifies current workspace plan values by product family", () =>
+ Effect.gen(function* () {