mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
feat: Kimi model
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 4.0 KiB |
@@ -5,6 +5,7 @@ import icon_txy_colorful from '@/assets/model/icon_txy_colorful.png'
|
||||
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'
|
||||
|
||||
type ModelArg = { key: string; val?: string | number; type: string; range?: string }
|
||||
type ModelOption = { name: string; api_domain?: string; args?: ModelArg[] }
|
||||
@@ -184,6 +185,36 @@ export const supplierList: Array<{
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 8,
|
||||
name: 'Kimi',
|
||||
icon: icon_kimi_colorful,
|
||||
model_config: {
|
||||
0: {
|
||||
api_domain: 'https://api.moonshot.cn/v1',
|
||||
common_args: [{ key: 'temperature', val: 0.3, type: 'number', range: '[0, 1]' }],
|
||||
model_options: [
|
||||
{
|
||||
name: 'kimi-k2-0711-preview',
|
||||
args: [{ key: 'temperature', val: 0.6, type: 'number', range: '[0, 1]' }],
|
||||
},
|
||||
{
|
||||
name: 'kimi-k2-turbo-preview',
|
||||
args: [{ key: 'temperature', val: 0.6, type: 'number', range: '[0, 1]' }],
|
||||
},
|
||||
{ name: 'moonshot-v1-8k' },
|
||||
{ name: 'moonshot-v1-32k' },
|
||||
{ name: 'moonshot-v1-128k' },
|
||||
{ name: 'moonshot-v1-auto' },
|
||||
{ name: 'kimi-latest' },
|
||||
{ name: 'moonshot-v1-8k-vision-preview' },
|
||||
{ name: 'moonshot-v1-32k-vision-preview' },
|
||||
{ name: 'moonshot-v1-128k-vision-preview' },
|
||||
{ name: 'kimi-thinking-preview' },
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
export const base_model_options = (supplier_id: number, model_type?: number) => {
|
||||
|
||||
Reference in New Issue
Block a user