Skip to content

Commit 265adde

Browse files
rekram1-nodeBenGu3
authored andcommitted
fix(opencode): support Anthropic fallback responses (anomalyco#31611)
1 parent 19f6011 commit 265adde

5 files changed

Lines changed: 11 additions & 13 deletions

File tree

bun.lock

Lines changed: 7 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bunfig.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
exact = true
33
# Only install newly resolved package versions published at least 3 days ago.
44
minimumReleaseAge = 259200
5-
minimumReleaseAgeExcludes = ["@ai-sdk/amazon-bedrock", "@opentui/core", "@opentui/core-darwin-arm64", "@opentui/core-darwin-x64", "@opentui/core-linux-arm64", "@opentui/core-linux-arm64-musl", "@opentui/core-linux-x64", "@opentui/core-linux-x64-musl", "@opentui/core-win32-arm64", "@opentui/core-win32-x64", "@opentui/keymap", "@opentui/solid", "gitlab-ai-provider", "@ff-labs/fff-node", "@ff-labs/fff-bun", "@ff-labs/fff-bin-darwin-arm64", "@ff-labs/fff-bin-darwin-x64", "@ff-labs/fff-bin-linux-arm64-gnu", "@ff-labs/fff-bin-linux-arm64-musl", "@ff-labs/fff-bin-linux-x64-gnu", "@ff-labs/fff-bin-linux-x64-musl", "@ff-labs/fff-bin-win32-arm64", "@ff-labs/fff-bin-win32-x64"]
5+
minimumReleaseAgeExcludes = ["@ai-sdk/amazon-bedrock", "@ai-sdk/anthropic", "@opentui/core", "@opentui/core-darwin-arm64", "@opentui/core-darwin-x64", "@opentui/core-linux-arm64", "@opentui/core-linux-arm64-musl", "@opentui/core-linux-x64", "@opentui/core-linux-x64-musl", "@opentui/core-win32-arm64", "@opentui/core-win32-x64", "@opentui/keymap", "@opentui/solid", "gitlab-ai-provider", "@ff-labs/fff-node", "@ff-labs/fff-bun", "@ff-labs/fff-bin-darwin-arm64", "@ff-labs/fff-bin-darwin-x64", "@ff-labs/fff-bin-linux-arm64-gnu", "@ff-labs/fff-bin-linux-arm64-musl", "@ff-labs/fff-bin-linux-x64-gnu", "@ff-labs/fff-bin-linux-x64-musl", "@ff-labs/fff-bin-win32-arm64", "@ff-labs/fff-bin-win32-x64"]
66

77
[test]
88
root = "./do-not-run-tests-from-root"

packages/console/function/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@typescript/native-preview": "catalog:"
1818
},
1919
"dependencies": {
20-
"@ai-sdk/anthropic": "3.0.64",
20+
"@ai-sdk/anthropic": "3.0.82",
2121
"@ai-sdk/openai": "3.0.48",
2222
"@ai-sdk/openai-compatible": "2.0.37",
2323
"@opencode-ai/console-core": "workspace:*",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"dependencies": {
6363
"@ai-sdk/alibaba": "1.0.17",
6464
"@ai-sdk/amazon-bedrock": "4.0.112",
65-
"@ai-sdk/anthropic": "3.0.71",
65+
"@ai-sdk/anthropic": "3.0.82",
6666
"@ai-sdk/azure": "3.0.49",
6767
"@ai-sdk/cerebras": "2.0.41",
6868
"@ai-sdk/cohere": "3.0.27",

packages/opencode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@agentclientprotocol/sdk": "0.21.0",
5858
"@ai-sdk/alibaba": "1.0.17",
5959
"@ai-sdk/amazon-bedrock": "4.0.112",
60-
"@ai-sdk/anthropic": "3.0.71",
60+
"@ai-sdk/anthropic": "3.0.82",
6161
"@ai-sdk/azure": "3.0.49",
6262
"@ai-sdk/cerebras": "2.0.41",
6363
"@ai-sdk/cohere": "3.0.27",

0 commit comments

Comments
 (0)