|
|
@@ -8,14 +8,14 @@ func GetEndpointTypesByChannelType(channelType int, modelName string) []constant
|
|
|
switch channelType {
|
|
|
case constant.ChannelTypeJina:
|
|
|
endpointTypes = []constant.EndpointType{constant.EndpointTypeJinaRerank}
|
|
|
- case constant.ChannelTypeMidjourney, constant.ChannelTypeMidjourneyPlus:
|
|
|
- endpointTypes = []constant.EndpointType{constant.EndpointTypeMidjourney}
|
|
|
- case constant.ChannelTypeSunoAPI:
|
|
|
- endpointTypes = []constant.EndpointType{constant.EndpointTypeSuno}
|
|
|
- case constant.ChannelTypeKling:
|
|
|
- endpointTypes = []constant.EndpointType{constant.EndpointTypeKling}
|
|
|
- case constant.ChannelTypeJimeng:
|
|
|
- endpointTypes = []constant.EndpointType{constant.EndpointTypeJimeng}
|
|
|
+ //case constant.ChannelTypeMidjourney, constant.ChannelTypeMidjourneyPlus:
|
|
|
+ // endpointTypes = []constant.EndpointType{constant.EndpointTypeMidjourney}
|
|
|
+ //case constant.ChannelTypeSunoAPI:
|
|
|
+ // endpointTypes = []constant.EndpointType{constant.EndpointTypeSuno}
|
|
|
+ //case constant.ChannelTypeKling:
|
|
|
+ // endpointTypes = []constant.EndpointType{constant.EndpointTypeKling}
|
|
|
+ //case constant.ChannelTypeJimeng:
|
|
|
+ // endpointTypes = []constant.EndpointType{constant.EndpointTypeJimeng}
|
|
|
case constant.ChannelTypeAws:
|
|
|
fallthrough
|
|
|
case constant.ChannelTypeAnthropic:
|