mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 14:41:24 +08:00
Merge 81c1ccfadd into fd6986076a
This commit is contained in:
commit
796c8e3d8c
BIN
src/renderer/src/assets/images/providers/bailing.png
Normal file
BIN
src/renderer/src/assets/images/providers/bailing.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
@ -25,6 +25,20 @@ export const SYSTEM_MODELS: Record<SystemProviderId | 'defaultModel', Model[]> =
|
||||
// Default quick assistant model
|
||||
glm45FlashModel
|
||||
],
|
||||
bailing: [
|
||||
{
|
||||
id: 'Ling-1T',
|
||||
name: 'Ling-1T',
|
||||
provider: 'bailing',
|
||||
group: 'Bailing'
|
||||
},
|
||||
{
|
||||
id: 'Ring-1T',
|
||||
name: 'Ring-1T',
|
||||
provider: 'bailing',
|
||||
group: 'Bailing'
|
||||
}
|
||||
],
|
||||
cherryin: [],
|
||||
vertexai: [],
|
||||
sophnet: [],
|
||||
|
||||
@ -10,6 +10,7 @@ import AwsProviderLogo from '@renderer/assets/images/providers/aws-bedrock.webp'
|
||||
import BaichuanProviderLogo from '@renderer/assets/images/providers/baichuan.png'
|
||||
import BaiduCloudProviderLogo from '@renderer/assets/images/providers/baidu-cloud.svg'
|
||||
import BailianProviderLogo from '@renderer/assets/images/providers/bailian.png'
|
||||
import BailingProviderLogo from '@renderer/assets/images/providers/bailing.png'
|
||||
import BurnCloudProviderLogo from '@renderer/assets/images/providers/burncloud.png'
|
||||
import CephalonProviderLogo from '@renderer/assets/images/providers/cephalon.jpeg'
|
||||
import CerebrasProviderLogo from '@renderer/assets/images/providers/cerebras.webp'
|
||||
@ -89,6 +90,16 @@ export const SYSTEM_PROVIDERS_CONFIG: Record<SystemProviderId, SystemProvider> =
|
||||
isSystem: true,
|
||||
enabled: true
|
||||
},
|
||||
bailing: {
|
||||
id: 'bailing',
|
||||
name: 'Bailing',
|
||||
type: 'openai',
|
||||
apiKey: '',
|
||||
apiHost: 'https://api.tbox.cn/api/llm/v1/chat/completions',
|
||||
models: SYSTEM_MODELS.bailing,
|
||||
isSystem: true,
|
||||
enabled: false
|
||||
},
|
||||
silicon: {
|
||||
id: 'silicon',
|
||||
name: 'Silicon',
|
||||
@ -702,6 +713,7 @@ export const SYSTEM_PROVIDERS: SystemProvider[] = Object.values(SYSTEM_PROVIDERS
|
||||
|
||||
export const PROVIDER_LOGO_MAP: AtLeast<SystemProviderId, string> = {
|
||||
cherryin: CherryInProviderLogo,
|
||||
bailing: BailingProviderLogo,
|
||||
ph8: Ph8ProviderLogo,
|
||||
'302ai': Ai302ProviderLogo,
|
||||
openai: OpenAiProviderLogo,
|
||||
@ -876,6 +888,17 @@ export const PROVIDER_URLS: Record<SystemProviderId, ProviderUrls> = {
|
||||
models: 'https://ai.google.dev/gemini-api/docs/models/gemini'
|
||||
}
|
||||
},
|
||||
bailing: {
|
||||
api: {
|
||||
url: 'https://api.tbox.cn/api/llm/v1/chat/completions'
|
||||
},
|
||||
websites: {
|
||||
official: 'https://ling.tbox.cn/open',
|
||||
apiKey: 'https://ling.tbox.cn/open',
|
||||
docs: 'https://alipaytbox.yuque.com/sxs0ba/ling/intro',
|
||||
models: 'https://alipaytbox.yuque.com/sxs0ba/ling/intro'
|
||||
}
|
||||
},
|
||||
silicon: {
|
||||
api: {
|
||||
url: 'https://api.siliconflow.cn'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user