feat: add minimax api adaptor

This commit is contained in:
feitianbubu
2025-10-20 14:00:07 +08:00
parent 0a8e54de20
commit a2d34b9e47
5 changed files with 16 additions and 10 deletions

View File

@@ -69,6 +69,8 @@ func ChannelType2APIType(channelType int) (int, bool) {
apiType = constant.APITypeMoonshot
case constant.ChannelTypeSubmodel:
apiType = constant.APITypeSubmodel
case constant.ChannelTypeMiniMax:
apiType = constant.APITypeMiniMax
}
if apiType == -1 {
return constant.APITypeOpenAI, false