feat: support perplexity

This commit is contained in:
CaIon
2024-03-18 18:00:19 +08:00
parent 652bb4a53c
commit 578b5f6536
5 changed files with 96 additions and 1 deletions

View File

@@ -211,6 +211,7 @@ const (
ChannelTypeGemini = 24
ChannelTypeMoonshot = 25
ChannelTypeZhipu_v4 = 26
ChannelTypePerplexity = 27
)
var ChannelBaseURLs = []string{
@@ -240,5 +241,5 @@ var ChannelBaseURLs = []string{
"https://hunyuan.cloud.tencent.com", //23
"https://generativelanguage.googleapis.com", //24
"https://api.moonshot.cn", //25
"https://open.bigmodel.cn", //26
"https://api.perplexity.ai", //26
}