feat: support DeepL's model (close #1126)

This commit is contained in:
JustSong
2024-04-27 13:37:22 +08:00
parent e64e7707a0
commit 007906216d
20 changed files with 305 additions and 10 deletions

View File

@@ -33,6 +33,8 @@ func ToAPIType(channelType int) int {
apiType = apitype.Cohere
case Cloudflare:
apiType = apitype.Cloudflare
case DeepL:
apiType = apitype.DeepL
}
return apiType