Skip to content

Commit d149ac5

Browse files
perf: Tencent hunyuan model
1 parent 0f8e1c8 commit d149ac5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

frontend/src/entity/supplier.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import icon_alybl_colorful from '@/assets/model/icon_alybl_colorful.png'
22
import icon_bdyzn_colorful from '@/assets/model/icon_bdyzn_colorful.png'
33
import icon_deepseek_colorful from '@/assets/model/icon_deepseek_colorful.png'
4+
import icon_txy_colorful from '@/assets/model/icon_txy_colorful.png'
45
type ModelConfig = Record<number, { api_domain: string; model_options: string[] }>
56

67
export const supplierList: Array<{
@@ -42,6 +43,24 @@ export const supplierList: Array<{
4243
},
4344
},
4445
},
46+
{
47+
id: 4,
48+
name: '腾讯云',
49+
icon: icon_txy_colorful,
50+
model_config: {
51+
0: {
52+
api_domain: 'https://api.hunyuan.cloud.tencent.com/v1/',
53+
model_options: [
54+
'hunyuan-turbos-latest',
55+
'hunyuan-turbos-longtext-128k-20250325',
56+
'hunyuan-large',
57+
'hunyuan-standard-256K',
58+
'hunyuan-standard',
59+
'hunyuan-lite',
60+
],
61+
},
62+
},
63+
},
4564
]
4665

4766
export const base_model_options = (supplier_id: number, model_type?: number) => {

0 commit comments

Comments
 (0)