add submodel.ai

This commit is contained in:
DD
2025-09-08 16:21:21 +08:00
parent d95d260555
commit cfbc2df3f8
10 changed files with 129 additions and 0 deletions

View File

@@ -65,6 +65,8 @@ func ChannelType2APIType(channelType int) (int, bool) {
apiType = constant.APITypeCoze
case constant.ChannelTypeJimeng:
apiType = constant.APITypeJimeng
case constant.ChannelTypeSubmodel:
apiType = constant.APITypeSubmodel
}
if apiType == -1 {
return constant.APITypeOpenAI, false