feat: dynamic model discovery from vercel ai gateway (#1353)

This commit is contained in:
josh 2025-12-14 21:26:49 +00:00 committed by GitHub
parent 2b0b42d144
commit b1da86062e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
74 changed files with 7426 additions and 2277 deletions

View file

@ -21,7 +21,7 @@ export const postRequestBodySchema = z.object({
role: z.enum(["user"]),
parts: z.array(partSchema),
}),
selectedChatModel: z.enum(["chat-model", "chat-model-reasoning"]),
selectedChatModel: z.string(),
selectedVisibilityType: z.enum(["public", "private"]),
});