mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-18 17:07:27 +00:00
add submodel.ai
This commit is contained in:
@@ -135,6 +135,11 @@ export const CHANNEL_OPTIONS = [
|
||||
color: 'blue',
|
||||
label: '即梦',
|
||||
},
|
||||
{
|
||||
value: 52,
|
||||
color: 'blue',
|
||||
label: 'SubModel',
|
||||
},
|
||||
];
|
||||
|
||||
export const MODEL_TABLE_PAGE_SIZE = 10;
|
||||
|
||||
@@ -398,6 +398,8 @@ export function getChannelIcon(channelType) {
|
||||
return <FastGPT.Color size={iconSize} />;
|
||||
case 21: // 知识库:AI Proxy
|
||||
case 44: // 嵌入模型:MokaAI M3E
|
||||
case 52: // SubModel
|
||||
return null;
|
||||
default:
|
||||
return null; // 未知类型或自定义渠道不显示图标
|
||||
}
|
||||
|
||||
@@ -98,6 +98,9 @@ const EditTagModal = (props) => {
|
||||
case 36:
|
||||
localModels = ['suno_music', 'suno_lyrics'];
|
||||
break;
|
||||
case 52:
|
||||
localModels = ['NousResearch/Hermes-4-405B-FP8', 'Qwen/Qwen3-235B-A22B-Thinking-2507', 'Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8', 'zai-org/GLM-4.5-FP8', 'openai/gpt-oss-120b', 'deepseek-ai/DeepSeek-R1-0528', 'deepseek-ai/DeepSeek-R1', 'deepseek-ai/DeepSeek-V3-0324', 'deepseek-ai/DeepSeek-V3.1'];
|
||||
break;
|
||||
default:
|
||||
localModels = getChannelModels(value);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user