From ea00b2aa258a9973e217f48748f17fcd57795dad Mon Sep 17 00:00:00 2001 From: matevip Date: Mon, 18 May 2026 10:01:05 +0800 Subject: [PATCH] feat(ui): add the xAI (Grok) provider brand icon --- mateclaw-ui/public/icons/providers/grok.svg | 1 + mateclaw-ui/src/utils/providerIcons.ts | 1 + 2 files changed, 2 insertions(+) create mode 100644 mateclaw-ui/public/icons/providers/grok.svg diff --git a/mateclaw-ui/public/icons/providers/grok.svg b/mateclaw-ui/public/icons/providers/grok.svg new file mode 100644 index 00000000..efb1a618 --- /dev/null +++ b/mateclaw-ui/public/icons/providers/grok.svg @@ -0,0 +1 @@ +Grok \ No newline at end of file diff --git a/mateclaw-ui/src/utils/providerIcons.ts b/mateclaw-ui/src/utils/providerIcons.ts index e75a414a..665e8de6 100644 --- a/mateclaw-ui/src/utils/providerIcons.ts +++ b/mateclaw-ui/src/utils/providerIcons.ts @@ -26,6 +26,7 @@ const providerIconMap: Record = { 'llamacpp': '/icons/providers/llamacpp.svg', 'mlx': '/icons/providers/mlx.svg', 'openrouter': '/icons/providers/openrouter.svg', + 'xai': '/icons/providers/grok.svg', 'zhipu-cn': '/icons/providers/zhipu.svg', 'zhipu-intl': '/icons/providers/zhipu.svg', // Coding Plan subscription endpoints — same brand, reuse mark.