We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb7669 commit c361c29Copy full SHA for c361c29
1 file changed
packages/opencode/src/provider/transform.ts
@@ -847,7 +847,10 @@ export function options(input: {
847
}): Record<string, any> {
848
const result: Record<string, any> = {}
849
850
- if (input.model.api.npm === "@ai-sdk/google-vertex/anthropic") {
+ if (
851
+ input.model.api.npm === "@ai-sdk/google-vertex/anthropic" ||
852
+ (!input.model.api.id.includes("claude") && input.model.api.npm === "@ai-sdk/anthropic")
853
+ ) {
854
result["toolStreaming"] = false
855
}
856
0 commit comments