feat: Ark engine model

This commit is contained in:
fit2cloud-chenyw
2025-08-05 17:15:49 +08:00
parent 7a1a663cd1
commit 1a129ab915
2 changed files with 20 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

+20
View File
@@ -7,6 +7,7 @@ import icon_gemini_colorful from '@/assets/model/icon_gemini_colorful.png'
import icon_openai_colorful from '@/assets/model/icon_openai_colorful.png'
import icon_kimi_colorful from '@/assets/model/icon_kimi_colorful.png'
import icon_txhy_colorful from '@/assets/model/icon_txhy_colorful.png'
import icon_hsyq_colorful from '@/assets/model/icon_hsyq_colorful.png'
type ModelArg = { key: string; val?: string | number; type: string; range?: string }
type ModelOption = { name: string; api_domain?: string; args?: ModelArg[] }
@@ -233,6 +234,25 @@ export const supplierList: Array<{
},
},
},
{
id: 10,
name: '火山引擎',
icon: icon_hsyq_colorful,
model_config: {
0: {
api_domain: 'https://ark.cn-beijing.volces.com/api/v3',
common_args: [{ key: 'temperature', val: 0.6, type: 'number', range: '[0, 1]' }],
model_options: [
{ name: 'doubao-seed-1-6-250615' },
{ name: 'doubao-seed-1-6-flash-250715' },
{ name: 'doubao-1-5-pro-32k-character-250715' },
{ name: 'kimi-k2-250711' },
{ name: 'deepseek-v3-250324' },
{ name: 'deepseek-r1' },
],
},
},
},
]
export const base_model_options = (supplier_id: number, model_type?: number) => {