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

This commit is contained in:
JustSong
2023-07-23 11:51:44 +08:00
parent c87e05bfc2
commit 26c6719ea3
9 changed files with 403 additions and 49 deletions

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
}