feat: sync remaining channel and relay updates
This commit is contained in:
@@ -75,6 +75,12 @@ func ChannelType2APIType(channelType int) (int, bool) {
|
||||
apiType = constant.APITypeReplicate
|
||||
case constant.ChannelTypeCodex:
|
||||
apiType = constant.APITypeCodex
|
||||
case constant.ChannelTypeCodexCLIProxy:
|
||||
apiType = constant.APITypeOpenAI
|
||||
case constant.ChannelTypeClaudeCodeCLIProxy:
|
||||
apiType = constant.APITypeAnthropic
|
||||
case constant.ChannelTypeGeminiCLIProxy:
|
||||
apiType = constant.APITypeOpenAI
|
||||
}
|
||||
if apiType == -1 {
|
||||
return constant.APITypeOpenAI, false
|
||||
|
||||
Reference in New Issue
Block a user