From 86fb710e52758c0624eae8fcb763d27b67bcf4fd Mon Sep 17 00:00:00 2001 From: balibabu Date: Fri, 8 Aug 2025 14:13:19 +0800 Subject: [PATCH] Feat: Add xai logo #1853 (#9321) ### What problem does this PR solve? Feat: Add xai logo #1853 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- web/src/assets/svg/llm/grok.svg | 1 + web/src/assets/svg/llm/xai.svg | 1 + web/src/constants/llm.ts | 4 ++++ 3 files changed, 6 insertions(+) create mode 100644 web/src/assets/svg/llm/grok.svg create mode 100644 web/src/assets/svg/llm/xai.svg diff --git a/web/src/assets/svg/llm/grok.svg b/web/src/assets/svg/llm/grok.svg new file mode 100644 index 000000000..9201bbc9f --- /dev/null +++ b/web/src/assets/svg/llm/grok.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/src/assets/svg/llm/xai.svg b/web/src/assets/svg/llm/xai.svg new file mode 100644 index 000000000..a6808fb67 --- /dev/null +++ b/web/src/assets/svg/llm/xai.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/src/constants/llm.ts b/web/src/constants/llm.ts index 63469b969..172c136e5 100644 --- a/web/src/constants/llm.ts +++ b/web/src/constants/llm.ts @@ -52,6 +52,8 @@ export enum LLMFactory { GiteeAI = 'GiteeAI', Ai302 = '302.AI', DeepInfra = 'DeepInfra', + Grok = 'Grok', + XAI = 'xAI', } // Please lowercase the file name @@ -109,4 +111,6 @@ export const IconMap = { [LLMFactory.GiteeAI]: 'gitee-ai', [LLMFactory.Ai302]: 'ai302', [LLMFactory.DeepInfra]: 'deepinfra', + [LLMFactory.Grok]: 'grok', + [LLMFactory.XAI]: 'xai', };