本页还没有译文
本页 8 段还没译成日本語,下面显示的是英文原文。Model is not assignable to type "LanguageModelV1"
还没翻译译自英文(ai-sdk.dev)本页 8 段都还没译
Issue
I have updated the AI SDK and now I get the following error: Type 'SomeModel' is not assignable to type 'LanguageModelV1'.
Note
Similar errors can occur with EmbeddingModelV4 as well.
Background
Sometimes new features are being added to the model specification. This can cause incompatibilities with older provider versions.
Solution
Update your provider packages and the AI SDK to the latest version.
AI 翻译查看英文原文