Skip to content

Error switching model to open ai #58

@alpacaPwaa

Description

@alpacaPwaa

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/@[email protected]/node_modules/@ai-sdk/provider/dist/index").LanguageModelV1' is not assignable to type 'import("C:/Users/Admin/Desktop/prototype/gemini-chatbot/node_modules/.pnpm/@[email protected]/node_modules/@ai-sdk/provider/dist/index").LanguageModelV1'

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions