fix: default tool call streaming to false for google vertex (#24573)

This commit is contained in:
Aiden Cline
2026-04-26 23:42:23 -05:00
committed by GitHub
parent e578c442be
commit 025a6392ce

View File

@@ -826,6 +826,10 @@ export function options(input: {
}): Record<string, any> {
const result: Record<string, any> = {}
if (input.model.api.npm === "@ai-sdk/google-vertex/anthropic") {
result["toolStreaming"] = false
}
// openai and providers using openai package should set store to false by default.
if (
input.model.providerID === "openai" ||