add submodel icon
This commit is contained in:
parent
71d41d6eaa
commit
1c48391cdb
@ -54,6 +54,7 @@ import {
|
|||||||
FastGPT,
|
FastGPT,
|
||||||
Kling,
|
Kling,
|
||||||
Jimeng,
|
Jimeng,
|
||||||
|
SubModel,
|
||||||
} from '@lobehub/icons';
|
} from '@lobehub/icons';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@ -342,6 +343,8 @@ export function getChannelIcon(channelType) {
|
|||||||
return <FastGPT.Color size={iconSize} />;
|
return <FastGPT.Color size={iconSize} />;
|
||||||
case 21: // 知识库:AI Proxy
|
case 21: // 知识库:AI Proxy
|
||||||
case 44: // 嵌入模型:MokaAI M3E
|
case 44: // 嵌入模型:MokaAI M3E
|
||||||
|
case 53: // 嵌入模型:SubModel
|
||||||
|
return <SubModel size={iconSize} />;
|
||||||
default:
|
default:
|
||||||
return null; // 未知类型或自定义渠道不显示图标
|
return null; // 未知类型或自定义渠道不显示图标
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user