Skip to content

Commit

Permalink
Relax status check for Azure Openai. Fixes #744
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Jan 29, 2025
1 parent 966c402 commit 1a9cea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/llms/server/openai/openai.router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const llmOpenAIRouter = createTRPCRouter({
model: z.string(), // the OpenAI model id
owner: z.enum(['organization-owner']),
id: z.string(), // the deployment name
status: z.enum(['succeeded']),
status: z.string(), // relaxed from z.enum(['succeeded']) for #744
created_at: z.number(),
updated_at: z.number(),
object: z.literal('deployment'),
Expand Down

0 comments on commit 1a9cea2

Please sign in to comment.