Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error switching model to open ai #58

Open
alpacaPwaa opened this issue Nov 24, 2024 · 1 comment
Open

Error switching model to open ai #58

alpacaPwaa opened this issue Nov 24, 2024 · 1 comment

Comments

@alpacaPwaa
Copy link

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'

image

@aashirisrar
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants