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 45e4542 commit 9e1e37aCopy full SHA for 9e1e37a
src/shared/chat.ts
@@ -65,8 +65,8 @@ export const MessageGenerationInfoSchema = z.object({
65
id: z.string(),
66
name: z.string(),
67
systemMessage: z.string().optional(),
68
- model: z.string().optional(),
69
- temperature: z.number().min(0).max(1).optional(),
+ model: z.string().optional().nullable(),
+ temperature: z.number().min(0).max(1).optional().nullable(),
70
}),
71
z.object({
72
type: z.literal('custom'),
0 commit comments