Skip to content

Commit 798538f

Browse files
authored
Merge pull request #1254 from llc1123/dev
feat(zenmux): route models through protocol-specific SDKs
2 parents d4ce566 + 0f95849 commit 798538f

37 files changed

Lines changed: 134 additions & 57 deletions

providers/zenmux/models/anthropic/claude-3.5-haiku.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["text", "image"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

providers/zenmux/models/anthropic/claude-3.5-sonnet.toml

Lines changed: 0 additions & 24 deletions
This file was deleted.

providers/zenmux/models/anthropic/claude-3.7-sonnet.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["text", "image", "pdf"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

providers/zenmux/models/anthropic/claude-haiku-4.5.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["image", "text"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

providers/zenmux/models/anthropic/claude-opus-4.1.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["image", "text", "pdf"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

providers/zenmux/models/anthropic/claude-opus-4.5.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["pdf", "image", "text"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

providers/zenmux/models/anthropic/claude-opus-4.6.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 128_000
2121
[modalities]
2222
input = ["image", "text"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

providers/zenmux/models/anthropic/claude-opus-4.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ cache_write = 18.75
1616

1717
[limit]
1818
context = 200_000
19-
output = 64_000
19+
output = 32_000
2020

2121
[modalities]
2222
input = ["image", "text", "pdf"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

providers/zenmux/models/anthropic/claude-sonnet-4.5.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["text", "image", "pdf"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

providers/zenmux/models/anthropic/claude-sonnet-4.6.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ output = 64_000
2121
[modalities]
2222
input = ["text", "image"]
2323
output = ["text"]
24+
25+
[provider]
26+
npm = "@ai-sdk/anthropic"
27+
api = "https://zenmux.ai/api/anthropic/v1"

0 commit comments

Comments
 (0)