Skip to content

Commit 304677b

Browse files
authored
Update packages/types/src/model.ts
1 parent 2923349 commit 304677b

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

packages/types/src/model.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,9 @@ export type ServiceTier = z.infer<typeof serviceTierSchema>
7373
/**
7474
* Service tiers for Codex requests authenticated through a ChatGPT subscription.
7575
*/
76-
export const OpenAiCodexServiceTier = {
77-
Default: "default",
78-
Priority: "priority",
79-
} as const
80-
81-
export const openAiCodexServiceTiers = [OpenAiCodexServiceTier.Default, OpenAiCodexServiceTier.Priority] as const
76+
export type OpenAiCodexServiceTier = Exclude<ServiceTier, "flex">
77+
export const openAiCodexServiceTiers = [OpenAiServiceTier.Default, OpenAiServiceTier.Priority] as const
8278
export const openAiCodexServiceTierSchema = z.enum(openAiCodexServiceTiers)
83-
export type OpenAiCodexServiceTier = z.infer<typeof openAiCodexServiceTierSchema>
8479

8580
/**
8681
* ModelParameter

0 commit comments

Comments
 (0)