feat: Support Cohere

This commit is contained in:
Martial BE
2024-04-18 01:39:18 +08:00
parent 7e206c1e7e
commit 95854f5912
9 changed files with 400 additions and 0 deletions

View File

@@ -173,6 +173,7 @@ const (
ChannelTypeLingyi = 33
ChannelTypeMidjourney = 34
ChannelTypeCloudflareAI = 35
ChannelTypeCohere = 36
)
var ChannelBaseURLs = []string{
@@ -212,6 +213,7 @@ var ChannelBaseURLs = []string{
"https://api.lingyiwanwu.com", //33
"", //34
"", //35
"https://api.cohere.ai/v1", //36
}
const (