feat: Add support for VolcEngine (Doubao) channel #313 #734

This commit is contained in:
1808837298@qq.com
2025-02-11 23:47:15 +08:00
parent 81d11e5d31
commit 28c13e5a0f
10 changed files with 285 additions and 297 deletions

View File

@@ -231,8 +231,9 @@ const (
ChannelTypeVertexAi = 41
ChannelTypeMistral = 42
ChannelTypeDeepSeek = 43
ChannelTypeMokaAI = 47
ChannelTypeDummy // this one is only for count, do not add any channel after this
ChannelTypeMokaAI = 47
ChannelTypeVolcEngine = 48
ChannelTypeDummy // this one is only for count, do not add any channel after this
)
@@ -281,5 +282,6 @@ var ChannelBaseURLs = []string{
"", //41
"https://api.mistral.ai", //42
"https://api.deepseek.com", //43
"https://api.moka.ai", //43
"https://api.moka.ai", //43
"https://ark.cn-beijing.volces.com", //44
}