feat: 支持CozeV3

This commit is contained in:
suziheng 2025-01-22 19:49:24 +08:00
parent aca72dc979
commit dde3cff708
3 changed files with 4 additions and 0 deletions

View File

@ -48,5 +48,6 @@ const (
SiliconFlow
XAI
Replicate
CozeV3
Dummy
)

View File

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

View File

@ -48,6 +48,7 @@ var ChannelBaseURLs = []string{
"https://api.siliconflow.cn", // 44
"https://api.x.ai", // 45
"https://api.replicate.com/v1/models/", // 46
"https://api.coze.cn", // 47
}
func init() {