From 1b0d894f04ec642806c9ae57db25d73b9b5a1354 Mon Sep 17 00:00:00 2001 From: Fuegovic <32828263+fuegovic@users.noreply.github.com> Date: Sun, 25 Aug 2024 15:33:03 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8B=20feat:=20Known=20Endpoints:=20Dee?= =?UTF-8?q?pSeek=20(#3776)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fuegovic --- .env.example | 1 + client/public/assets/deepseek.svg | 1 + client/src/components/Chat/Menus/Endpoints/UnknownIcon.tsx | 1 + packages/data-provider/src/config.ts | 1 + 4 files changed, 4 insertions(+) create mode 100644 client/public/assets/deepseek.svg diff --git a/.env.example b/.env.example index c1eea8064f5..89fe9b22225 100644 --- a/.env.example +++ b/.env.example @@ -65,6 +65,7 @@ PROXY= # ANYSCALE_API_KEY= # APIPIE_API_KEY= # COHERE_API_KEY= +# DEEPSEEK_API_KEY= # DATABRICKS_API_KEY= # FIREWORKS_API_KEY= # GROQ_API_KEY= diff --git a/client/public/assets/deepseek.svg b/client/public/assets/deepseek.svg new file mode 100644 index 00000000000..2e4650aee9f --- /dev/null +++ b/client/public/assets/deepseek.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/client/src/components/Chat/Menus/Endpoints/UnknownIcon.tsx b/client/src/components/Chat/Menus/Endpoints/UnknownIcon.tsx index 435ed632480..4613ebeae25 100644 --- a/client/src/components/Chat/Menus/Endpoints/UnknownIcon.tsx +++ b/client/src/components/Chat/Menus/Endpoints/UnknownIcon.tsx @@ -6,6 +6,7 @@ const knownEndpointAssets = { [KnownEndpoints.anyscale]: '/assets/anyscale.png', [KnownEndpoints.apipie]: '/assets/apipie.png', [KnownEndpoints.cohere]: '/assets/cohere.png', + [KnownEndpoints.deepseek]: '/assets/deepseek.svg', [KnownEndpoints.fireworks]: '/assets/fireworks.png', [KnownEndpoints.groq]: '/assets/groq.png', [KnownEndpoints.huggingface]: '/assets/huggingface.svg', diff --git a/packages/data-provider/src/config.ts b/packages/data-provider/src/config.ts index 85498871b20..1a0f567dedd 100644 --- a/packages/data-provider/src/config.ts +++ b/packages/data-provider/src/config.ts @@ -475,6 +475,7 @@ export enum KnownEndpoints { apipie = 'apipie', cohere = 'cohere', fireworks = 'fireworks', + deepseek = 'deepseek', groq = 'groq', huggingface = 'huggingface', mistral = 'mistral',