We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2923349 commit 304677bCopy full SHA for 304677b
1 file changed
packages/types/src/model.ts
@@ -73,14 +73,9 @@ export type ServiceTier = z.infer<typeof serviceTierSchema>
73
/**
74
* Service tiers for Codex requests authenticated through a ChatGPT subscription.
75
*/
76
-export const OpenAiCodexServiceTier = {
77
- Default: "default",
78
- Priority: "priority",
79
-} as const
80
-
81
-export const openAiCodexServiceTiers = [OpenAiCodexServiceTier.Default, OpenAiCodexServiceTier.Priority] as const
+export type OpenAiCodexServiceTier = Exclude<ServiceTier, "flex">
+export const openAiCodexServiceTiers = [OpenAiServiceTier.Default, OpenAiServiceTier.Priority] as const
82
export const openAiCodexServiceTierSchema = z.enum(openAiCodexServiceTiers)
83
-export type OpenAiCodexServiceTier = z.infer<typeof openAiCodexServiceTierSchema>
84
85
86
* ModelParameter
0 commit comments