From b4af37725929ac51bc7c0a1aaeed582d6034941f Mon Sep 17 00:00:00 2001 From: Fuegovic Date: Sun, 25 Aug 2024 15:02:55 -0400 Subject: [PATCH] feat - Known Endpoints: DeepSeek 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',