Skip to content

Commit d8d5f08

Browse files
Merge pull request #1486 from chl-0537/feature/add-tencent
feat: add new provider and model
2 parents 2af43dc + 73b81ac commit d8d5f08

File tree

7 files changed

+65
-0
lines changed

7 files changed

+65
-0
lines changed

packages/core/src/family.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ export const ModelFamilyValues = [
115115
// Hunyuan
116116
"hunyuan",
117117

118+
// HY
119+
"HY",
120+
118121
// Yi
119122
"yi",
120123

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name = "HY3 Preview"
2+
family = "HY"
3+
release_date = "2026-04-20"
4+
last_updated = "2026-04-20"
5+
attachment = false
6+
reasoning = true
7+
tool_call = true
8+
temperature = true
9+
open_weights = true
10+
11+
[cost]
12+
input = 0
13+
output = 0
14+
cache_read = 0
15+
cache_write = 0
16+
17+
[limit]
18+
context = 256000
19+
output = 64000
20+
21+
[modalities]
22+
input = ["text"]
23+
output = ["text"]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name = "Tencent Token Plan"
2+
env = ["TENCENT_TOKEN_PLAN_API_KEY"]
3+
npm = "@ai-sdk/openai-compatible"
4+
doc = "https://cloud.tencent.com/document/product/1823/130060"
5+
api = "https://api.lkeap.cloud.tencent.com/plan/v3"
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name = "HY3 Preview"
2+
family = "HY"
3+
release_date = "2026-04-20"
4+
last_updated = "2026-04-20"
5+
attachment = false
6+
reasoning = true
7+
tool_call = true
8+
temperature = true
9+
open_weights = true
10+
11+
[cost]
12+
input = 0
13+
output = 0
14+
cache_read = 0
15+
cache_write = 0
16+
17+
[limit]
18+
context = 256000
19+
output = 64000
20+
21+
[modalities]
22+
input = ["text"]
23+
output = ["text"]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name = "Tencent TokenHub"
2+
env = ["TENCENT_TOKENHUB_API_KEY"]
3+
npm = "@ai-sdk/openai-compatible"
4+
doc = "https://cloud.tencent.com/document/product/1823/130050"
5+
api = "https://tokenhub.tencentmaas.com/v1"

0 commit comments

Comments
 (0)