feat: support cohere (close #195)

This commit is contained in:
CaIon committed 2024-04-24 18:49:56 +08:00
1 parent 213e659164
commit cae9dbe141
11 files changed
+322 -2

No files matched your search

+2 -1
View File
@@ -207,6 +207,7 @@ const (
ChannelTypePerplexity = 27
ChannelTypeLingYiWanWu = 31
ChannelTypeAws = 33
ChannelTypeCohere = 34
)
var ChannelBaseURLs = []string{
@@ -244,5 +245,5 @@ var ChannelBaseURLs = []string{
"https://api.lingyiwanwu.com", //31
"", //32
"", //33
"https://api.cohere.ai", //34
}