feat(ai-sdk): Added Support for Google Provider in AI SDK (#2771)

This commit is contained in:
Saket Aryan
2025-05-23 00:37:58 +05:30
committed by GitHub
parent 816039036d
commit d21970efcc
7 changed files with 172 additions and 72 deletions

View File

@@ -7,7 +7,7 @@ class Mem0ClassSelector {
provider_wrapper: string;
config: Mem0ProviderSettings;
provider_config?: ProviderSettings;
static supportedProviders = ["openai", "anthropic", "cohere", "groq"];
static supportedProviders = ["openai", "anthropic", "cohere", "groq", "google"];
constructor(modelId: string, config: Mem0ProviderSettings, provider_config?: ProviderSettings) {
this.modelId = modelId;