Skip to content

Commit 1a129ab

Browse files
feat: Ark engine model
1 parent 7a1a663 commit 1a129ab

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
5.44 KB
Loading

frontend/src/entity/supplier.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import icon_gemini_colorful from '@/assets/model/icon_gemini_colorful.png'
77
import icon_openai_colorful from '@/assets/model/icon_openai_colorful.png'
88
import icon_kimi_colorful from '@/assets/model/icon_kimi_colorful.png'
99
import icon_txhy_colorful from '@/assets/model/icon_txhy_colorful.png'
10+
import icon_hsyq_colorful from '@/assets/model/icon_hsyq_colorful.png'
1011

1112
type ModelArg = { key: string; val?: string | number; type: string; range?: string }
1213
type ModelOption = { name: string; api_domain?: string; args?: ModelArg[] }
@@ -233,6 +234,25 @@ export const supplierList: Array<{
233234
},
234235
},
235236
},
237+
{
238+
id: 10,
239+
name: '火山引擎',
240+
icon: icon_hsyq_colorful,
241+
model_config: {
242+
0: {
243+
api_domain: 'https://ark.cn-beijing.volces.com/api/v3',
244+
common_args: [{ key: 'temperature', val: 0.6, type: 'number', range: '[0, 1]' }],
245+
model_options: [
246+
{ name: 'doubao-seed-1-6-250615' },
247+
{ name: 'doubao-seed-1-6-flash-250715' },
248+
{ name: 'doubao-1-5-pro-32k-character-250715' },
249+
{ name: 'kimi-k2-250711' },
250+
{ name: 'deepseek-v3-250324' },
251+
{ name: 'deepseek-r1' },
252+
],
253+
},
254+
},
255+
},
236256
]
237257

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

0 commit comments

Comments
 (0)