mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-12-26 17:55:58 +08:00
feat: support DeepL's model (close #1126)
This commit is contained in:
@@ -33,6 +33,8 @@ func ToAPIType(channelType int) int {
|
||||
apiType = apitype.Cohere
|
||||
case Cloudflare:
|
||||
apiType = apitype.Cloudflare
|
||||
case DeepL:
|
||||
apiType = apitype.DeepL
|
||||
}
|
||||
|
||||
return apiType
|
||||
|
||||
Reference in New Issue
Block a user