feat: support moonshot now (close #804)

This commit is contained in:
JustSong
2024-02-18 16:17:19 +08:00
parent 604ac56305
commit 2acc2f5017
21 changed files with 114 additions and 34 deletions

View File

@@ -63,6 +63,7 @@ const (
ChannelTypeFastGPT = 22
ChannelTypeTencent = 23
ChannelTypeGemini = 24
ChannelTypeMoonshot = 25
)
var ChannelBaseURLs = []string{
@@ -91,6 +92,7 @@ var ChannelBaseURLs = []string{
"https://fastgpt.run/api/openapi", // 22
"https://hunyuan.cloud.tencent.com", // 23
"https://generativelanguage.googleapis.com", // 24
"https://api.moonshot.cn", // 25
}
const (