Type ‘GoogleGenerativeAILanguageModel’ is not assignable to type ‘LanguageModelV1’.
The types of ‘doGenerate(…).then’ are incompatible between these types.
const result = await streamUI({
model: google(‘models/gemini-pro’),
initial: <SpinnerMessage />,
system: `...
i’m testing out the Vercel AI SDK , and am playing around with a bunch of the different models supported , please help me out with this issue.
Was expecting it to function just like any other model supported by the ai sdk.
Arya Vinayak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.