Skip to content

Commit 350df0b

Browse files
committed
zen: add missing model lab names
1 parent fbabc97 commit 350df0b

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

packages/console/app/src/component/icon.tsx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,33 @@ export function IconGemini(props: JSX.SvgSVGAttributes<SVGSVGElement>) {
191191
)
192192
}
193193

194+
export function IconXiaomi(props: JSX.SvgSVGAttributes<SVGSVGElement>) {
195+
return (
196+
<svg {...props} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
197+
<path d="M12 0C8.016 0 4.756.255 2.493 2.516.23 4.776 0 8.033 0 12.012c0 3.98.23 7.235 2.494 9.497C4.757 23.77 8.017 24 12 24c3.983 0 7.243-.23 9.506-2.491C23.77 19.247 24 15.99 24 12.012c0-3.984-.233-7.243-2.502-9.504C19.234.252 15.978 0 12 0zM4.906 7.405h5.624c1.47 0 3.007.068 3.764.827.746.746.827 2.233.83 3.676v4.54a.15.15 0 0 1-.152.147h-1.947a.15.15 0 0 1-.152-.148V11.83c-.002-.806-.048-1.634-.464-2.051-.358-.36-1.026-.441-1.72-.458H7.158a.15.15 0 0 0-.151.147v6.98a.15.15 0 0 1-.152.148H4.906a.15.15 0 0 1-.15-.148V7.554a.15.15 0 0 1 .15-.149zm12.131 0h1.949a.15.15 0 0 1 .15.15v8.892a.15.15 0 0 1-.15.148h-1.949a.15.15 0 0 1-.151-.148V7.554a.15.15 0 0 1 .151-.149zM8.92 10.948h2.046c.083 0 .15.066.15.147v5.352a.15.15 0 0 1-.15.148H8.92a.15.15 0 0 1-.152-.148v-5.352a.15.15 0 0 1 .152-.147Z" />
198+
</svg>
199+
)
200+
}
201+
202+
export function IconNvidia(props: JSX.SvgSVGAttributes<SVGSVGElement>) {
203+
return (
204+
<svg {...props} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
205+
<path d="M8.948 8.798v-1.43a6.7 6.7 0 0 1 .424-.018c3.922-.124 6.493 3.374 6.493 3.374s-2.774 3.851-5.75 3.851c-.398 0-.787-.062-1.158-.185v-4.346c1.528.185 1.837.857 2.747 2.385l2.04-1.714s-1.492-1.952-4-1.952a6.016 6.016 0 0 0-.796.035m0-4.735v2.138l.424-.027c5.45-.185 9.01 4.47 9.01 4.47s-4.08 4.964-8.33 4.964c-.37 0-.733-.035-1.095-.097v1.325c.3.035.61.062.91.062 3.957 0 6.82-2.023 9.593-4.408.459.371 2.34 1.263 2.73 1.652-2.633 2.208-8.772 3.984-12.253 3.984-.335 0-.653-.018-.971-.053v1.864H24V4.063zm0 10.326v1.131c-3.657-.654-4.673-4.46-4.673-4.46s1.758-1.944 4.673-2.262v1.237H8.94c-1.528-.186-2.73 1.245-2.73 1.245s.68 2.412 2.739 3.11M2.456 10.9s2.164-3.197 6.5-3.533V6.201C4.153 6.59 0 10.653 0 10.653s2.35 6.802 8.948 7.42v-1.237c-4.84-.6-6.492-5.936-6.492-5.936z" />
206+
</svg>
207+
)
208+
}
209+
210+
export function IconArcee(props: JSX.SvgSVGAttributes<SVGSVGElement>) {
211+
return (
212+
<svg {...props} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 32" fill="currentColor">
213+
<path d="M20.4062 3.66602L4.24121 31.5928H0L18.2881 0L20.4062 3.66602Z" />
214+
<path d="M25.8838 13.1553L11.0752 31.5928H6.36719L23.9131 9.74512L25.8838 13.1553Z" />
215+
<path d="M36.5352 31.5928H21.6611L34.6191 28.2783L36.5352 31.5928Z" />
216+
<path d="M31.2627 22.4648L19.1699 31.5898H13.0762L29.4131 19.2617L31.2627 22.4648Z" />
217+
</svg>
218+
)
219+
}
220+
194221
export function IconStealth(props: JSX.SvgSVGAttributes<SVGSVGElement>) {
195222
return (
196223
<svg {...props} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 18" fill="none">

packages/console/app/src/routes/workspace/[id]/model-section.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ import { querySessionInfo } from "../common"
88
import {
99
IconAlibaba,
1010
IconAnthropic,
11+
IconArcee,
1112
IconGemini,
1213
IconMiniMax,
1314
IconMoonshotAI,
15+
IconNvidia,
1416
IconOpenAI,
1517
IconStealth,
1618
IconXai,
19+
IconXiaomi,
1720
IconZai,
1821
} from "~/component/icon"
1922
import { useI18n } from "~/context/i18n"
@@ -29,6 +32,9 @@ const getModelLab = (modelId: string) => {
2932
if (modelId.startsWith("qwen")) return "Alibaba"
3033
if (modelId.startsWith("minimax")) return "MiniMax"
3134
if (modelId.startsWith("grok")) return "xAI"
35+
if (modelId.startsWith("mimo")) return "Xiaomi"
36+
if (modelId.startsWith("nemotron")) return "NVIDIA"
37+
if (modelId.startsWith("trinity")) return "Arcee"
3238
return "Stealth"
3339
}
3440

@@ -139,6 +145,12 @@ export function ModelSection() {
139145
return <IconXai width={16} height={16} />
140146
case "MiniMax":
141147
return <IconMiniMax width={16} height={16} />
148+
case "Xiaomi":
149+
return <IconXiaomi width={16} height={16} />
150+
case "NVIDIA":
151+
return <IconNvidia width={16} height={16} />
152+
case "Arcee":
153+
return <IconArcee width={16} height={16} />
142154
default:
143155
return <IconStealth width={16} height={16} />
144156
}

0 commit comments

Comments
 (0)