mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-13 07:11:55 +00:00
fix: default tool call streaming to false for google vertex (#24573)
This commit is contained in:
parent
e578c442be
commit
025a6392ce
1 changed files with 4 additions and 0 deletions
|
|
@ -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" ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue