feat: sync remaining channel and relay updates
This commit is contained in:
@@ -55,6 +55,9 @@ const (
|
||||
ChannelTypeSora = 55
|
||||
ChannelTypeReplicate = 56
|
||||
ChannelTypeCodex = 57
|
||||
ChannelTypeCodexCLIProxy = 58
|
||||
ChannelTypeClaudeCodeCLIProxy = 59
|
||||
ChannelTypeGeminiCLIProxy = 60
|
||||
ChannelTypeDummy // this one is only for count, do not add any channel after this
|
||||
|
||||
)
|
||||
@@ -118,6 +121,9 @@ var ChannelBaseURLs = []string{
|
||||
"https://api.openai.com", //55
|
||||
"https://api.replicate.com", //56
|
||||
"https://chatgpt.com", //57
|
||||
"", //58
|
||||
"", //59
|
||||
"", //60
|
||||
}
|
||||
|
||||
var ChannelTypeNames = map[int]string{
|
||||
@@ -175,6 +181,9 @@ var ChannelTypeNames = map[int]string{
|
||||
ChannelTypeSora: "Sora",
|
||||
ChannelTypeReplicate: "Replicate",
|
||||
ChannelTypeCodex: "Codex",
|
||||
ChannelTypeCodexCLIProxy: "CodexCLIProxy",
|
||||
ChannelTypeClaudeCodeCLIProxy: "ClaudeCodeCLIProxy",
|
||||
ChannelTypeGeminiCLIProxy: "GeminiCLIProxy",
|
||||
}
|
||||
|
||||
func GetChannelTypeName(channelType int) string {
|
||||
|
||||
@@ -10,6 +10,7 @@ const (
|
||||
EndpointTypeGemini EndpointType = "gemini"
|
||||
EndpointTypeJinaRerank EndpointType = "jina-rerank"
|
||||
EndpointTypeImageGeneration EndpointType = "image-generation"
|
||||
EndpointTypeImageEdit EndpointType = "image-edit"
|
||||
EndpointTypeEmbeddings EndpointType = "embeddings"
|
||||
EndpointTypeOpenAIVideo EndpointType = "openai-video"
|
||||
//EndpointTypeMidjourney EndpointType = "midjourney-proxy"
|
||||
|
||||
Reference in New Issue
Block a user