Skip to content

Unexpected behavior when passing providerOptions to vertex/google provider #7783

@idobenamram

Description

@idobenamram

Description

The chat model is imported from google (GoogleGenerativeAILanguageModel) so it looks for the google provider. When doing this from vertex it is kind of weird. For example when using GoogleVertexImageModel it does look for the vertex provider in the providerOptions

AI SDK Version

  • ai: 5.0.2

Metadata

Metadata

Assignees

Labels

ai/providerrelated to a provider package. Must be assigned together with at least one `provider/*` labelprovider/googleIssues related to the @ai-sdk/google providerprovider/google-vertexIssues related to the @ai-sdk/google-vertex provider

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions