fix(core): scope Vertex provider transforms (#31004)
This commit is contained in:
parent
7ebc7ffb87
commit
05d1104ecd
2 changed files with 25 additions and 1 deletions
|
|
@ -63,7 +63,10 @@ export const GoogleVertexPlugin = PluginV2.define({
|
|||
if (item.provider.api.type !== "aisdk") continue
|
||||
if (
|
||||
item.provider.api.package !== "@ai-sdk/google-vertex" &&
|
||||
!item.provider.api.package.includes("@ai-sdk/openai-compatible")
|
||||
!(
|
||||
item.provider.id === ProviderV2.ID.googleVertex &&
|
||||
item.provider.api.package.includes("@ai-sdk/openai-compatible")
|
||||
)
|
||||
)
|
||||
continue
|
||||
const project = resolveProject(item.provider.request.body)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue