Merge commit 'da0842272ced7bee05a8f43c40a7a8c01b14d09a'

This commit is contained in:
Laisky.Cai
2024-04-25 03:04:12 +00:00
16 changed files with 546 additions and 9 deletions

View File

@@ -36,6 +36,7 @@ const (
StepFun
AwsClaude
Coze
Cohere
Dummy
)

View File

@@ -29,6 +29,8 @@ func ToAPIType(channelType int) int {
apiType = apitype.AwsClaude
case Coze:
apiType = apitype.Coze
case Cohere:
apiType = apitype.Cohere
}
return apiType

View File

@@ -36,6 +36,7 @@ var ChannelBaseURLs = []string{
"https://api.stepfun.com", // 32
"", // 33
"https://api.coze.com", // 34
"https://api.cohere.ai", //35
}
func init() {