mirror of
https://fastgit.cc/https://github.com/anomalyco/opencode
synced 2026-04-30 13:51:48 +08:00
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> {
|
||||
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" ||
|
||||
|
||||
Reference in New Issue
Block a user