mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
feat: Tencent cloud model
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 6.7 KiB |
@@ -6,6 +6,7 @@ import icon_xfhx_colorful from '@/assets/model/icon_xfhx_colorful.png'
|
||||
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'
|
||||
|
||||
type ModelArg = { key: string; val?: string | number; type: string; range?: string }
|
||||
type ModelOption = { name: string; api_domain?: string; args?: ModelArg[] }
|
||||
@@ -78,7 +79,7 @@ export const supplierList: Array<{
|
||||
{
|
||||
id: 4,
|
||||
name: '腾讯混元',
|
||||
icon: icon_txy_colorful,
|
||||
icon: icon_txhy_colorful,
|
||||
model_config: {
|
||||
0: {
|
||||
api_domain: 'https://api.hunyuan.cloud.tencent.com/v1/',
|
||||
@@ -215,6 +216,23 @@ export const supplierList: Array<{
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 9,
|
||||
name: '腾讯云',
|
||||
icon: icon_txy_colorful,
|
||||
model_config: {
|
||||
0: {
|
||||
api_domain: 'https://api.lkeap.cloud.tencent.com/v1',
|
||||
common_args: [{ key: 'temperature', val: 0.6, type: 'number', range: '[0, 1]' }],
|
||||
model_options: [
|
||||
{ name: 'deepseek-r1' },
|
||||
{ name: 'deepseek-r1-0528' },
|
||||
{ name: 'deepseek-v3' },
|
||||
{ name: 'deepseek-v3-0324' },
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
export const base_model_options = (supplier_id: number, model_type?: number) => {
|
||||
|
||||
Reference in New Issue
Block a user