This commit is contained in:
DD
2025-09-10 18:37:55 +08:00
parent 2fb5fc231d
commit 116d070bbf
2 changed files with 3 additions and 5 deletions

View File

@@ -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{

View File

@@ -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; // 未知类型或自定义渠道不显示图标