fix(providerConfig): update Google Vertex AI import and creator function name

- Changed the import path for Google Vertex AI to '@ai-sdk/google-vertex/edge'.
- Updated the creator function name from 'createGoogleVertex' to 'createVertex' for consistency.
This commit is contained in:
lizhixuan
2025-08-30 18:42:08 +08:00
parent 1d331c8ffc
commit e39e349dd3
@@ -19,10 +19,10 @@ export const NEW_PROVIDER_CONFIGS: ProviderConfig[] = [
{
id: 'google-vertex',
name: 'Google Vertex AI',
import: () => import('@ai-sdk/google-vertex'),
creatorFunctionName: 'createGoogleVertex',
import: () => import('@ai-sdk/google-vertex/edge'),
creatorFunctionName: 'createVertex',
supportsImageGeneration: true,
aliases: ['google-vertex', 'vertexai']
aliases: ['vertexai']
},
{
id: 'bedrock',