DD 3 meses atrás
pai
commit
78b0f8905b
2 arquivos alterados com 3 adições e 5 exclusões
  1. 2 4
      constant/channel.go
  2. 1 1
      web/src/helpers/render.jsx

+ 2 - 4
constant/channel.go

@@ -49,13 +49,11 @@ const (
 	ChannelTypeCoze           = 49
 	ChannelTypeKling          = 50
 	ChannelTypeJimeng         = 51
-<<<<<<< HEAD
-	ChannelTypeSubmodel       = 52
-=======
 	ChannelTypeVidu           = 52
->>>>>>> 041782c49e0289b9d2e64a318e81e4f75754dabf
+	ChannelTypeSubmodel       = 53
 	ChannelTypeDummy          // this one is only for count, do not add any channel after this
 
+
 )
 
 var ChannelBaseURLs = []string{

+ 1 - 1
web/src/helpers/render.jsx

@@ -342,7 +342,7 @@ export function getChannelIcon(channelType) {
       return <FastGPT.Color size={iconSize} />;
     case 21: // 知识库:AI Proxy
     case 44: // 嵌入模型:MokaAI M3E
-    case 52: // SubModel
+    case 53: // SubModel
       return null;
     default:
       return null; // 未知类型或自定义渠道不显示图标