From e192364d8df31cc764b31e0d41cedc3d8df5cebe Mon Sep 17 00:00:00 2001
From: timothycarambat <rambat1010@gmail.com>
Date: Tue, 7 Jan 2025 12:09:14 -0800
Subject: [PATCH] Migrate CDN download URL from S3 bucket

---
 server/utils/EmbeddingEngines/native/index.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/server/utils/EmbeddingEngines/native/index.js b/server/utils/EmbeddingEngines/native/index.js
index 5494c8869..feb60a337 100644
--- a/server/utils/EmbeddingEngines/native/index.js
+++ b/server/utils/EmbeddingEngines/native/index.js
@@ -7,8 +7,7 @@ class NativeEmbedder {
   // This is a folder that Mintplex Labs hosts for those who cannot capture the HF model download
   // endpoint for various reasons. This endpoint is not guaranteed to be active or maintained
   // and may go offline at any time at Mintplex Labs's discretion.
-  #fallbackHost =
-    "https://s3.us-west-1.amazonaws.com/public.useanything.com/support/models/";
+  #fallbackHost = "https://cdn.useanything.com/support/models/";
 
   constructor() {
     // Model Card: https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2
-- 
GitLab