feat: replicate channel flux model

This commit is contained in:
Sh1n3zZ
2025-11-08 01:24:45 +08:00
parent 3dc4d6c39e
commit d0c45a01fa
11 changed files with 614 additions and 29 deletions

View File

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