Skip to content

Commit 0b4fe14

Browse files
authored
fix: forgot to put alibaba case in last commit (anomalyco#22249)
1 parent 7230cd2 commit 0b4fe14

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/opencode/src/provider/transform.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,8 @@ export namespace ProviderTransform {
288288
model.api.id.includes("claude") ||
289289
model.id.includes("anthropic") ||
290290
model.id.includes("claude") ||
291-
model.api.npm === "@ai-sdk/anthropic") &&
291+
model.api.npm === "@ai-sdk/anthropic" ||
292+
model.api.npm === "@ai-sdk/alibaba") &&
292293
model.api.npm !== "@ai-sdk/gateway"
293294
) {
294295
msgs = applyCaching(msgs, model)

0 commit comments

Comments
 (0)