Add Gemini Model Support to Vercel AI SDK Provider (#3094)

This commit is contained in:
Saket Aryan
2025-07-03 22:24:11 +05:30
committed by GitHub
parent 5b0f1a7cf8
commit 7476c39257
3 changed files with 14 additions and 1 deletions

View File

@@ -57,6 +57,7 @@ class Mem0AITextGenerator implements LanguageModelV1 {
})(modelId);
break;
case "google":
case "gemini":
this.languageModel = createGoogleGenerativeAI({
apiKey: config?.apiKey,
...provider_config as GoogleGenerativeAIProviderSettings,