mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
take model for /ai/chat
This commit is contained in:
@@ -671,6 +671,7 @@ export const ChatRequestSchema = z.object({
|
||||
orgId: z.coerce.number().int().positive("orgId must be a positive integer"),
|
||||
projectId: z.coerce.number().int().positive("projectId must be a positive integer"),
|
||||
message: z.string().min(1, "Message is required"),
|
||||
model: z.string().min(1, "Model is required"),
|
||||
});
|
||||
|
||||
export type ChatRequest = z.infer<typeof ChatRequestSchema>;
|
||||
|
||||
Reference in New Issue
Block a user