feat: support 360's models (close #331, close #461)

feat: support 360's models (close #331, close #461)
This commit is contained in:
JustSong
2023-08-26 13:30:21 +08:00
parent fdb2cccf65
commit 5ee24e8acf
7 changed files with 101 additions and 40 deletions

View File

@@ -173,6 +173,7 @@ const (
ChannelTypeZhipu = 16
ChannelTypeAli = 17
ChannelTypeXunfei = 18
ChannelType360 = 19
)
var ChannelBaseURLs = []string{
@@ -195,4 +196,5 @@ var ChannelBaseURLs = []string{
"https://open.bigmodel.cn", // 16
"https://dashscope.aliyuncs.com", // 17
"", // 18
"https://ai.360.cn", // 19
}