feat: support coze now

This commit is contained in:
JustSong
2024-04-21 17:59:57 +08:00
parent d14e4aa01b
commit 8de489cf06
17 changed files with 380 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ const (
LingYiWanWu
StepFun
AwsClaude
Coze
Dummy
)

View File

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

View File

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