Support custom channel now

This commit is contained in:
JustSong
2023-04-23 20:35:49 +08:00
parent 57379d8e92
commit b3be4d8f85
8 changed files with 55 additions and 8 deletions

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
}