From fb88ac00c6f004470e0893e6909f5b65d9d46c46 Mon Sep 17 00:00:00 2001 From: Michael Clark <48897696+aoaim@users.noreply.github.com> Date: Thu, 29 May 2025 20:32:41 +0800 Subject: [PATCH] =?UTF-8?q?=E2=84=B9=EF=B8=8F=20feat:=20Add=20icons=20for?= =?UTF-8?q?=20Google,=20OpenAI,=20and=20Qwen=20endpoints=20(#7428)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: aoaim --- client/public/assets/google.svg | 1 + client/public/assets/openai.svg | 1 + client/public/assets/qwen.svg | 1 + client/src/hooks/Endpoint/UnknownIcon.tsx | 3 +++ 4 files changed, 6 insertions(+) create mode 100644 client/public/assets/google.svg create mode 100644 client/public/assets/openai.svg create mode 100644 client/public/assets/qwen.svg diff --git a/client/public/assets/google.svg b/client/public/assets/google.svg new file mode 100644 index 0000000000..bebf169e2b --- /dev/null +++ b/client/public/assets/google.svg @@ -0,0 +1 @@ +Gemini \ No newline at end of file diff --git a/client/public/assets/openai.svg b/client/public/assets/openai.svg new file mode 100644 index 0000000000..895b39d02f --- /dev/null +++ b/client/public/assets/openai.svg @@ -0,0 +1 @@ +OpenAI \ No newline at end of file diff --git a/client/public/assets/qwen.svg b/client/public/assets/qwen.svg new file mode 100644 index 0000000000..ed17f7c072 --- /dev/null +++ b/client/public/assets/qwen.svg @@ -0,0 +1 @@ +Qwen \ No newline at end of file diff --git a/client/src/hooks/Endpoint/UnknownIcon.tsx b/client/src/hooks/Endpoint/UnknownIcon.tsx index 6c69954a2d..dc2ad086b5 100644 --- a/client/src/hooks/Endpoint/UnknownIcon.tsx +++ b/client/src/hooks/Endpoint/UnknownIcon.tsx @@ -10,13 +10,16 @@ const knownEndpointAssets = { [KnownEndpoints.cohere]: '/assets/cohere.png', [KnownEndpoints.deepseek]: '/assets/deepseek.svg', [KnownEndpoints.fireworks]: '/assets/fireworks.png', + [KnownEndpoints.google]: '/assets/google.svg', [KnownEndpoints.groq]: '/assets/groq.png', [KnownEndpoints.huggingface]: '/assets/huggingface.svg', [KnownEndpoints.mistral]: '/assets/mistral.png', [KnownEndpoints.mlx]: '/assets/mlx.png', [KnownEndpoints.ollama]: '/assets/ollama.png', + [KnownEndpoints.openai]: '/assets/openai.svg', [KnownEndpoints.openrouter]: '/assets/openrouter.png', [KnownEndpoints.perplexity]: '/assets/perplexity.png', + [KnownEndpoints.qwen]: '/assets/qwen.svg', [KnownEndpoints.shuttleai]: '/assets/shuttleai.png', [KnownEndpoints['together.ai']]: '/assets/together.png', [KnownEndpoints.unify]: '/assets/unify.webp',