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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user