Function createVercelModel
createVercelModel( provider: ProviderType, apiKey: string, options?: { baseUrl?: string; modelName?: string },): any Parameters
- provider: ProviderType
- apiKey: string
Optionaloptions: { baseUrl?: string; modelName?: string }
Returns any
Creates a Vercel AI SDK compatible model from our legacy configuration.