mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-15 15:30:26 +00:00
feat: support coze now
This commit is contained in:
@@ -35,6 +35,7 @@ const (
|
||||
LingYiWanWu
|
||||
StepFun
|
||||
AwsClaude
|
||||
Coze
|
||||
|
||||
Dummy
|
||||
)
|
||||
|
@@ -27,6 +27,8 @@ func ToAPIType(channelType int) int {
|
||||
apiType = apitype.Ollama
|
||||
case AwsClaude:
|
||||
apiType = apitype.AwsClaude
|
||||
case Coze:
|
||||
apiType = apitype.Coze
|
||||
}
|
||||
|
||||
return apiType
|
||||
|
@@ -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() {
|
||||
|
Reference in New Issue
Block a user