From afccbc88e84d9a13ff8ac6912d95a9a1c6be8425 Mon Sep 17 00:00:00 2001 From: balibabu Date: Fri, 9 Aug 2024 10:09:10 +0800 Subject: [PATCH] feat: Replace the LocalAi icon #762 (#1875) ### What problem does this PR solve? feat: Replace the LocalAi icon #762 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- web/src/assets/svg/llm/jina.svg | 238 +- web/src/assets/svg/llm/local-ai.svg | 12550 +--------------- .../user-setting/setting-model/constant.ts | 10 +- 3 files changed, 33 insertions(+), 12765 deletions(-) diff --git a/web/src/assets/svg/llm/jina.svg b/web/src/assets/svg/llm/jina.svg index 333d60ca7..6a241fc9a 100644 --- a/web/src/assets/svg/llm/jina.svg +++ b/web/src/assets/svg/llm/jina.svg @@ -1,228 +1,12 @@ - - - + + + + + + + + + + + diff --git a/web/src/assets/svg/llm/local-ai.svg b/web/src/assets/svg/llm/local-ai.svg index 486e7b216..3be050a37 100644 --- a/web/src/assets/svg/llm/local-ai.svg +++ b/web/src/assets/svg/llm/local-ai.svg @@ -1,12533 +1,17 @@ - - - - + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/web/src/pages/user-setting/setting-model/constant.ts b/web/src/pages/user-setting/setting-model/constant.ts index b4d726484..b7badc91d 100644 --- a/web/src/pages/user-setting/setting-model/constant.ts +++ b/web/src/pages/user-setting/setting-model/constant.ts @@ -20,11 +20,11 @@ export const IconMap = { OpenRouter: 'open-router', LocalAI: 'local-ai', StepFun: 'stepfun', - NVIDIA:'nvidia', - 'LM-Studio':'lm-studio', - 'OpenAI-API-Compatible':'openai-api', - 'cohere':'cohere', - 'LeptonAI':'lepton' + NVIDIA: 'nvidia', + 'LM-Studio': 'lm-studio', + 'OpenAI-API-Compatible': 'openai-api', + cohere: 'cohere', + Lepton: 'lepton', }; export const BedrockRegionList = [