diff --git a/web/default/src/features/usage-logs/components/model-badge.tsx b/web/default/src/features/usage-logs/components/model-badge.tsx index 7ef3df97..40f50c46 100644 --- a/web/default/src/features/usage-logs/components/model-badge.tsx +++ b/web/default/src/features/usage-logs/components/model-badge.tsx @@ -79,6 +79,36 @@ function resolveModelProvider(modelName: string): ModelProvider | null { if (hasAny(['moonshot-', 'kimi-'])) { return { icon: 'Moonshot.Color', label: 'Moonshot' } } + if (hasAny(['minimax', 'abab'])) { + return { icon: 'Minimax.Color', label: 'MiniMax' } + } + if (hasAny(['glm-', 'chatglm', 'cogview', 'cogvideo'])) { + return { icon: 'Zhipu.Color', label: 'Zhipu' } + } + if (hasAny(['mimo-'])) { + return { icon: 'XiaomiMiMo', label: 'MiMo' } + } + if (hasAny(['ernie'])) { + return { icon: 'Wenxin.Color', label: 'Baidu' } + } + if (hasAny(['spark'])) { + return { icon: 'Spark.Color', label: 'iFlyTek' } + } + if (hasAny(['hunyuan'])) { + return { icon: 'Hunyuan.Color', label: 'Tencent' } + } + if (hasAny(['baichuan'])) { + return { icon: 'Baichuan.Color', label: 'Baichuan' } + } + if (hasAny(['internlm'])) { + return { icon: 'InternLM.Color', label: 'InternLM' } + } + if (hasAny(['step-'])) { + return { icon: 'StepFun.Color', label: 'StepFun' } + } + if (hasAny(['yi-'])) { + return { icon: 'Yi.Color', label: 'Yi' } + } if (hasAny(['mistral-', 'mixtral-'])) { return { icon: 'Mistral.Color', label: 'Mistral' } }