Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/renderer/src/assets/images/providers/byteplus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions src/renderer/src/config/models/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1961,5 +1961,63 @@ export const SYSTEM_MODELS: Record<SystemProviderId | 'defaultModel', Model[]> =
provider: 'mimo',
group: 'Mimo'
}
],
'volcano-coding': [
{
id: 'ark-code-latest',
name: 'ark-code-latest',
provider: 'volcano-coding',
group: 'Volcano Engine Coding Plan'
},
{
id: 'doubao-seed-2.0-code',
name: 'doubao-seed-2.0-code',
provider: 'volcano-coding',
group: 'Volcano Engine Coding Plan'
},
{
id: 'glm-4.7',
name: 'glm-4.7',
provider: 'volcano-coding',
group: 'Volcano Engine Coding Plan'
},
{
id: 'deepseek-v3.2',
name: 'deepseek-v3.2',
provider: 'volcano-coding',
group: 'Volcano Engine Coding Plan'
},
{
id: 'kimi-k2.5',
name: 'kimi-k2.5',
provider: 'volcano-coding',
group: 'Volcano Engine Coding Plan'
}
],
'byteplus-coding': [
{
id: 'ark-code-latest',
name: 'ark-code-latest',
provider: 'byteplus-coding',
group: 'BytePlus Coding Plan'
},
{
id: 'bytedance-seed-code',
name: 'bytedance-seed-code',
provider: 'byteplus-coding',
group: 'BytePlus Coding Plan'
},
{
id: 'glm-4.7',
name: 'glm-4.7',
provider: 'byteplus-coding',
group: 'BytePlus Coding Plan'
},
{
id: 'kimi-k2.5',
name: 'kimi-k2.5',
provider: 'byteplus-coding',
group: 'BytePlus Coding Plan'
}
]
}
53 changes: 53 additions & 0 deletions src/renderer/src/config/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ 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 BurnCloudProviderLogo from '@renderer/assets/images/providers/burncloud.png'
import BytePlusProviderLogo from '@renderer/assets/images/providers/byteplus.svg'
import CephalonProviderLogo from '@renderer/assets/images/providers/cephalon.jpeg'
import CerebrasProviderLogo from '@renderer/assets/images/providers/cerebras.webp'
import CherryInProviderLogo from '@renderer/assets/images/providers/cherryin.png'
Expand Down Expand Up @@ -131,6 +132,28 @@ export const SYSTEM_PROVIDERS_CONFIG: Record<SystemProviderId, SystemProvider> =
isSystem: true,
enabled: false
},
'volcano-coding': {
id: 'volcano-coding',
name: 'Volcano Engine Coding Plan',
type: 'openai',
apiKey: '',
apiHost: 'https://ark.cn-beijing.volces.com/api/coding/v3',
anthropicApiHost: 'https://ark.cn-beijing.volces.com/api/coding',
models: SYSTEM_MODELS['volcano-coding'],
isSystem: true,
enabled: false
},
'byteplus-coding': {
id: 'byteplus-coding',
name: 'BytePlus Coding Plan',
type: 'openai',
apiKey: '',
apiHost: 'https://ark.ap-southeast.bytepluses.com/api/coding/v3',
anthropicApiHost: 'https://ark.ap-southeast.bytepluses.com/api/coding',
models: SYSTEM_MODELS['byteplus-coding'],
isSystem: true,
enabled: false
},
zhipu: {
id: 'zhipu',
name: 'ZhiPu',
Expand Down Expand Up @@ -723,6 +746,8 @@ export const PROVIDER_LOGO_MAP: AtLeast<SystemProviderId, string> = {
'gitee-ai': GiteeAIProviderLogo,
yi: ZeroOneProviderLogo,
groq: GroqProviderLogo,
'volcano-coding': BytedanceProviderLogo,
'byteplus-coding': BytePlusProviderLogo,
zhipu: ZhipuProviderLogo,
ovms: IntelOvmsLogo,
ollama: OllamaProviderLogo,
Expand Down Expand Up @@ -1459,5 +1484,33 @@ export const PROVIDER_URLS: Record<SystemProviderId, ProviderUrls> = {
docs: 'https://platform.xiaomimimo.com/#/docs/welcome',
models: 'https://platform.xiaomimimo.com/'
}
},
'volcano-coding': {
api: {
url: 'https://ark.cn-beijing.volces.com/api/coding/v3'
},
websites: {
official:
'https://console.volcengine.com/ark/?utm_campaign=cherrystudio&utm_content=cherrystudio&utm_medium=devrel&utm_source=OWO&utm_term=cherrystudio',
apiKey:
'https://console.volcengine.com/ark/region:ark+cn-beijing/apiKey?apikey=%7B%7D&utm_campaign=cherrystudio&utm_content=cherrystudio&utm_medium=devrel&utm_source=OWO&utm_term=cherrystudio',
docs: 'https://www.volcengine.com/docs/82379/1182403?utm_campaign=cherrystudio&utm_content=cherrystudio&utm_medium=devrel&utm_source=OWO&utm_term=cherrystudio&lang=zh',
models:
'https://console.volcengine.com/ark/region:ark+cn-beijing/endpoint?utm_campaign=cherrystudio&utm_content=cherrystudio&utm_medium=devrel&utm_source=OWO&utm_term=cherrystudio'
}
},
'byteplus-coding': {
api: {
url: 'https://ark.ap-southeast.bytepluses.com/api/coding/v3'
},
websites: {
official:
'https://www.byteplus.com/en/activity/codingplan?utm_campaign=cherrystudio&utm_content=cherrystudio&utm_medium=devrel&utm_source=OWO&utm_term=cherrystudio',
apiKey:
'https://console.byteplus.com/ark/region:ark+ap-southeast-1/apiKey?apikey=%7B%7D&utm_campaign=cherrystudio&utm_content=cherrystudio&utm_medium=devrel&utm_source=OWO&utm_term=cherrystudio',
docs: 'https://docs.byteplus.com/en/docs/ModelArk/1928261?utm_campaign=cherrystudio&utm_content=cherrystudio&utm_medium=devrel&utm_source=OWO&utm_term=cherrystudio&lang=zh',
models:
'https://console.byteplus.com/ark/region:ark+ap-southeast-1/openManagement?LLM=%7B%7D&advancedActiveKey=subscribe&utm_campaign=cherrystudio&utm_content=cherrystudio&utm_medium=devrel&utm_source=OWO&utm_term=cherrystudio'
}
}
}
4 changes: 3 additions & 1 deletion src/renderer/src/i18n/label.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ const providerKeyMap = {
sophnet: 'provider.sophnet',
gateway: 'provider.ai-gateway',
cerebras: 'provider.cerebras',
mimo: 'provider.mimo'
mimo: 'provider.mimo',
'volcano-coding': 'provider.volcano-coding',
'byteplus-coding': 'provider.byteplus-coding'
} as const

/**
Expand Down
2 changes: 2 additions & 0 deletions src/renderer/src/i18n/locales/en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -3021,6 +3021,7 @@
"baichuan": "Baichuan",
"baidu-cloud": "Baidu Cloud",
"burncloud": "BurnCloud",
"byteplus-coding": "BytePlus Coding Plan",
"cephalon": "Cephalon",
"cerebras": "Cerebras AI",
"cherryin": "CherryIN",
Expand Down Expand Up @@ -3070,6 +3071,7 @@
"together": "Together",
"tokenflux": "TokenFlux",
"vertexai": "Vertex AI",
"volcano-coding": "Volcano Engine Coding Plan",
"voyageai": "Voyage AI",
"xirang": "State Cloud Xirang",
"yi": "Yi",
Expand Down
2 changes: 2 additions & 0 deletions src/renderer/src/i18n/locales/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -3021,6 +3021,7 @@
"baichuan": "百川",
"baidu-cloud": "百度云千帆",
"burncloud": "BurnCloud",
"byteplus-coding": "BytePlus Coding Plan",
"cephalon": "Cephalon",
"cerebras": "Cerebras AI",
"cherryin": "CherryIN",
Expand Down Expand Up @@ -3070,6 +3071,7 @@
"together": "Together",
"tokenflux": "TokenFlux",
"vertexai": "Vertex AI",
"volcano-coding": "Volcano Engine Coding Plan",
"voyageai": "Voyage AI",
"xirang": "天翼云息壤",
"yi": "零一万物",
Expand Down
6 changes: 5 additions & 1 deletion src/renderer/src/types/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ export const SystemProviderIdSchema = z.enum([
'sophnet',
'gateway',
'cerebras',
'mimo'
'mimo',
'volcano-coding',
'byteplus-coding'
])

export type SystemProviderId = z.infer<typeof SystemProviderIdSchema>
Expand Down Expand Up @@ -237,6 +239,8 @@ export const SystemProviderIds = {
vertexai: 'vertexai',
github: 'github',
copilot: 'copilot',
'volcano-coding': 'volcano-coding',
'byteplus-coding': 'byteplus-coding',
zhipu: 'zhipu',
yi: 'yi',
moonshot: 'moonshot',
Expand Down
Loading