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 84ceb3c commit a7dd390Copy full SHA for a7dd390
src/server/routes/openai.ts
@@ -23,7 +23,7 @@ const upload = multer({ storage })
23
24
const MessageSchema = z.object({
25
role: z.enum(['system', 'user', 'assistant']),
26
- content: z.string().min(0).max(40_000),
+ content: z.string().min(0).max(400_000),
27
})
28
29
type MessageType = z.infer<typeof MessageSchema>
0 commit comments