add submodel icon

This commit is contained in:
DD
2025-09-15 14:31:31 +08:00
parent cab562276d
commit 274872b8e5

View File

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