feat: sync remaining channel and relay updates

This commit is contained in:
OpenClaw Task Bot
2026-04-27 08:56:38 +08:00
parent 0321101ff7
commit 58c0258362
18 changed files with 465 additions and 271 deletions

View File

@@ -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