feat: add doubao channel

This commit is contained in:
linzhaoming
2024-06-15 20:08:27 +08:00
parent 318a086e10
commit 023d141e4a
7 changed files with 1308 additions and 1272 deletions

View File

@@ -232,6 +232,7 @@ const (
ChannelTypeCohere = 34
ChannelTypeMiniMax = 35
ChannelTypeScholarAI = 36
ChannelTypeDoubao = 37
ChannelTypeDummy // this one is only for count, do not add any channel after this
)
@@ -274,4 +275,5 @@ var ChannelBaseURLs = []string{
"https://api.cohere.ai", //34
"https://api.minimax.chat", //35
"https://api.scholarai.io", //36
"https://ark.cn-beijing.volces.com", //37
}