#58

Error switching model to open ai

OpenalpacaPwaaopened 1y ago

I can't switch to openai. I downloaded the openai provider sdk and imported it to the project, when I'm trying to switch the model to openai it shows this error.

Type 'import("C:/Users/Admin/Desktop/prototype/gemini-chatbot/node_modules/.pnpm/@ai-sdk+provider@1.0.1/node_modules/@ai-sdk/provider/dist/index").LanguageModelV1' is not assignable to type 'import("C:/Users/Admin/Desktop/prototype/gemini-chatbot/node_modules/.pnpm/@ai-sdk+provider@0.0.24/node_modules/@ai-sdk/provider/dist/index").LanguageModelV1'

Activity

1
aashirisrar1y ago

there is a dedicated repository for it check it out at https://github.com/vercel/ai-chatbot