Vercel Deployment Error
# support
g
Hi, I followed the instructions on the readme, but on deployment : "api/webhook/.assistantRequest.ts(60,27): error TS2322: Type '{ name: string; model: { provider: string; model: string; temperature: number; messages: { role: string; content: string; }[]; functions: { name: string; description: string; parameters: { type: string; properties: { ...; }; required: string[]; }; }[]; }; voice: { ...; }; firstMessage: string; }' is not assignable to type 'Assistant'. The types of 'model.messages' are incompatible between these types. Type '{ role: string; content: string; }[]' is not assignable to type 'ChatCompletionMessageParam[]'. Type '{ role: string; content: string; }' is not assignable to type 'ChatCompletionMessageParam'. Property 'name' is missing in type '{ role: string; content: string; }' but required in type 'ChatCompletionFunctionMessageParam'."
well, just use as any