fix: default tool call streaming to false for google vertex (#24573)
This commit is contained in:
@@ -826,6 +826,10 @@ export function options(input: {
|
|||||||
}): Record<string, any> {
|
}): Record<string, any> {
|
||||||
const result: 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.
|
// openai and providers using openai package should set store to false by default.
|
||||||
if (
|
if (
|
||||||
input.model.providerID === "openai" ||
|
input.model.providerID === "openai" ||
|
||||||
|
|||||||
Reference in New Issue
Block a user