Skip to content

Commit

Permalink
Fix error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrammel committed Dec 3, 2023
1 parent 92f06cf commit f0dd969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model-provider/openai/chat/OpenAIChatStreamIterable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const chatResponseStreamEventSchema = new ZodSchema(
chatCompletionChunkSchema,
z.object({
object: z.string().refine((obj) => obj !== "chat.completion.chunk", {
message: "Object must not be 'chat.completion.chunk'",
message: "Object must be 'chat.completion.chunk'",
}),
}),
])
Expand Down

1 comment on commit f0dd969

@vercel
Copy link

@vercel vercel bot commented on f0dd969 Dec 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.