diff --git a/frontend/src/components/Modals/MangeWorkspace/Documents/WorkspaceDirectory/index.jsx b/frontend/src/components/Modals/MangeWorkspace/Documents/WorkspaceDirectory/index.jsx
index e1ec21dd4d..12080b9b21 100644
--- a/frontend/src/components/Modals/MangeWorkspace/Documents/WorkspaceDirectory/index.jsx
+++ b/frontend/src/components/Modals/MangeWorkspace/Documents/WorkspaceDirectory/index.jsx
@@ -26,8 +26,8 @@ export default function WorkspaceDirectory({
-
Name
-
Date
+
Name
+
Date
Kind
Cached
@@ -55,8 +55,8 @@ export default function WorkspaceDirectory({
}`}
>
-
Name
-
Date
+
Name
+
Date
Kind
Cached
diff --git a/server/.env.example b/server/.env.example
index 242eec265e..a4bc9fe5bb 100644
--- a/server/.env.example
+++ b/server/.env.example
@@ -1,5 +1,4 @@
SERVER_PORT=3001
-CACHE_VECTORS="true"
JWT_SECRET="my-random-string-for-seeding" # Please generate random string at least 12 chars long.
###########################################
diff --git a/server/utils/files/index.js b/server/utils/files/index.js
index c862218764..b6c7a30701 100644
--- a/server/utils/files/index.js
+++ b/server/utils/files/index.js
@@ -99,8 +99,6 @@ async function viewLocalFiles() {
// Searches the vector-cache folder for existing information so we dont have to re-embed a
// document and can instead push directly to vector db.
async function cachedVectorInformation(filename = null, checkOnly = false) {
- if (!process.env.CACHE_VECTORS)
- return checkOnly ? false : { exists: false, chunks: [] };
if (!filename) return checkOnly ? false : { exists: false, chunks: [] };
const digest = uuidv5(filename, uuidv5.URL);
@@ -123,7 +121,6 @@ async function cachedVectorInformation(filename = null, checkOnly = false) {
// vectorData: pre-chunked vectorized data for a given file that includes the proper metadata and chunk-size limit so it can be iterated and dumped into Pinecone, etc
// filename is the fullpath to the doc so we can compare by filename to find cached matches.
async function storeVectorResult(vectorData = [], filename = null) {
- if (!process.env.CACHE_VECTORS) return;
if (!filename) return;
console.log(
`Caching vectorized results of ${filename} to prevent duplicated embedding.`
diff --git a/server/utils/helpers/updateENV.js b/server/utils/helpers/updateENV.js
index e995fb63ff..3a8ea55dd1 100644
--- a/server/utils/helpers/updateENV.js
+++ b/server/utils/helpers/updateENV.js
@@ -314,7 +314,6 @@ async function dumpENV() {
const frozenEnvs = {};
const protectedKeys = [
...Object.values(KEY_MAPPING).map((values) => values.envKey),
- "CACHE_VECTORS",
"STORAGE_DIR",
"SERVER_PORT",
// Password Schema Keys if present.