feat: support zhipu's ChatGLM (close #289)

This commit is contained in:
JustSong
2023-07-23 11:51:44 +08:00
parent 005b2c2d53
commit 91f8d22369
9 changed files with 403 additions and 49 deletions
+2
View File
@@ -153,6 +153,7 @@ const (
ChannelTypeAIGC2D = 13
ChannelTypeAnthropic = 14
ChannelTypeBaidu = 15
ChannelTypeZhipu = 16
)
var ChannelBaseURLs = []string{
@@ -172,4 +173,5 @@ var ChannelBaseURLs = []string{
"https://api.aigc2d.com", // 13
"https://api.anthropic.com", // 14
"https://aip.baidubce.com", // 15
"https://open.bigmodel.cn", // 16
}