From 98295caffe65e46d2931fcb44a7124b7b48d0a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E8=85=BE?= <101850389+hangters@users.noreply.github.com> Date: Mon, 8 Jul 2024 17:55:04 +0800 Subject: [PATCH] update Minimax and Azure-Openai icon in setting page (#1420) ### What problem does this PR solve? update Minimax and Azure-Openai icon in setting page #1156 #308 #433 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --------- Co-authored-by: Zhedong Cen --- web/src/assets/svg/llm/azure.svg | 1 + web/src/assets/svg/llm/chat-minimax.svg | 1 + web/src/assets/svg/llm/minimax.svg | 9 --------- web/src/pages/user-setting/setting-model/index.tsx | 3 ++- 4 files changed, 4 insertions(+), 10 deletions(-) create mode 100644 web/src/assets/svg/llm/azure.svg create mode 100644 web/src/assets/svg/llm/chat-minimax.svg delete mode 100644 web/src/assets/svg/llm/minimax.svg diff --git a/web/src/assets/svg/llm/azure.svg b/web/src/assets/svg/llm/azure.svg new file mode 100644 index 00000000000..b3281a5a571 --- /dev/null +++ b/web/src/assets/svg/llm/azure.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/src/assets/svg/llm/chat-minimax.svg b/web/src/assets/svg/llm/chat-minimax.svg new file mode 100644 index 00000000000..3ba8f7ff61d --- /dev/null +++ b/web/src/assets/svg/llm/chat-minimax.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/src/assets/svg/llm/minimax.svg b/web/src/assets/svg/llm/minimax.svg deleted file mode 100644 index 9f42956c42a..00000000000 --- a/web/src/assets/svg/llm/minimax.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - \ No newline at end of file diff --git a/web/src/pages/user-setting/setting-model/index.tsx b/web/src/pages/user-setting/setting-model/index.tsx index b59fcde743c..096b73af712 100644 --- a/web/src/pages/user-setting/setting-model/index.tsx +++ b/web/src/pages/user-setting/setting-model/index.tsx @@ -57,8 +57,9 @@ const IconMap = { VolcEngine: 'volc_engine', BaiChuan: 'baichuan', Jina: 'jina', - MiniMax: 'minimax', + Minimax: 'chat-minimax', Mistral: 'mistral', + 'Azure-Openai':'azure' }; const LlmIcon = ({ name }: { name: string }) => {