feat: support xunfei's llm (close #206)

This commit is contained in:
JustSong
2023-07-29 21:55:57 +08:00
parent 3e81d8af45
commit 8a866078b2
9 changed files with 363 additions and 43 deletions

View File

@@ -157,6 +157,7 @@ const (
ChannelTypeBaidu = 15
ChannelTypeZhipu = 16
ChannelTypeAli = 17
ChannelTypeXunfei = 18
)
var ChannelBaseURLs = []string{
@@ -178,4 +179,5 @@ var ChannelBaseURLs = []string{
"https://aip.baidubce.com", // 15
"https://open.bigmodel.cn", // 16
"https://dashscope.aliyuncs.com", // 17
"", // 18
}