add submodel.ai

This commit is contained in:
DD committed 2025-09-08 16:21:21 +08:00
1 parent d95d260555
commit cfbc2df3f8
10 files changed
+129

No files matched your search

+2
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