feat: update provider.ts, add models (#8278)

* fix:修改地址,Update providers.ts

* fix:修改地址,Update providers.ts

* fix: 添加蓝耘模型列表
This commit is contained in:
LANYUN 2025-07-18 17:01:40 +08:00 committed by GitHub
parent 7764ffc8bb
commit 5488c950aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 44 additions and 6 deletions

View File

@ -185,7 +185,8 @@ const visionAllowedModels = [
'kimi-latest',
'gemma-3(?:-[\\w-]+)',
'doubao-seed-1[.-]6(?:-[\\w-]+)?',
'kimi-thinking-preview'
'kimi-thinking-preview',
`gemma3(?:-[\\w-]+)`
]
const visionExcludedModels = [
@ -2242,7 +2243,44 @@ export const SYSTEM_MODELS: Record<string, Model[]> = {
group: 'DeepSeek'
}
],
lanyun: [],
lanyun: [
{
id: '/maas/deepseek-ai/DeepSeek-R1-0528',
name: 'deepseek-ai/DeepSeek-R1',
provider: 'lanyun',
group: 'deepseek-ai'
},
{
id: '/maas/deepseek-ai/DeepSeek-V3-0324',
name: 'deepseek-ai/DeepSeek-V3',
provider: 'lanyun',
group: 'deepseek-ai'
},
{
id: '/maas/qwen/Qwen2.5-72B-Instruct',
provider: 'lanyun',
name: 'Qwen2.5-72B-Instruct',
group: 'Qwen'
},
{
id: '/maas/qwen/Qwen3-235B-A22B',
name: 'Qwen/Qwen3-235B',
provider: 'lanyun',
group: 'Qwen'
},
{
id: '/maas/minimax/MiniMax-M1-80k',
name: 'MiniMax-M1-80k',
provider: 'lanyun',
group: 'MiniMax'
},
{
id: '/maas/google/Gemma3-27B',
name: 'Gemma3-27B',
provider: 'lanyun',
group: 'google'
}
],
'new-api': []
}

View File

@ -664,10 +664,10 @@ export const PROVIDER_CONFIG = {
url: 'https://maas-api.lanyun.net'
},
websites: {
official: 'https://lanyun.net',
apiKey: 'https://maas.lanyun.net/api/#/system/apiKey',
docs: 'https://archive.lanyun.net/maas/doc/',
models: 'https://maas.lanyun.net/api/#/model/modelSquare'
official: 'https://maas.lanyun.net',
apiKey: 'https://maas.lanyun.net/#/system/apiKey',
docs: 'https://archive.lanyun.net/#/maas/',
models: 'https://maas.lanyun.net/#/model/modelSquare'
}
},
vertexai: {