Support custom channel now

This commit is contained in:
JustSong
2023-04-23 20:35:49 +08:00
parent 17deb964ab
commit 32755d875a
8 changed files with 55 additions and 8 deletions
+2
View File
@@ -106,6 +106,7 @@ const (
ChannelTypeOpenAISB = 5
ChannelTypeOpenAIMax = 6
ChannelTypeOhMyGPT = 7
ChannelTypeCustom = 8
)
var ChannelBaseURLs = []string{
@@ -117,4 +118,5 @@ var ChannelBaseURLs = []string{
"https://api.openai-sb.com", // 5
"https://api.openaimax.com", // 6
"https://api.ohmygpt.com", // 7
"", // 8
}