Feat/Add ByteDance Ark provider (#226)

This commit is contained in:
Lingxuan Zuo
2026-02-28 16:44:58 +08:00
committed by GitHub
Unverified
parent 1b45d891c3
commit 8cda9235b3
6 changed files with 62 additions and 9 deletions

View File

@@ -10,6 +10,7 @@ export const BUILTIN_PROVIDER_TYPES = [
'openai',
'google',
'openrouter',
'ark',
'moonshot',
'siliconflow',
'minimax-portal',
@@ -73,6 +74,14 @@ const REGISTRY: Record<string, ProviderBackendMeta> = {
},
},
},
ark: {
envVar: 'ARK_API_KEY',
providerConfig: {
baseUrl: 'https://ark.cn-beijing.volces.com/api/v3',
api: 'openai-completions',
apiKeyEnv: 'ARK_API_KEY',
},
},
moonshot: {
envVar: 'MOONSHOT_API_KEY',
defaultModel: 'moonshot/kimi-k2.5',