diff --git a/api/package.json b/api/package.json index 56d1a7e59..38e63ba5c 100644 --- a/api/package.json +++ b/api/package.json @@ -31,7 +31,7 @@ "@azure/search-documents": "^12.0.0", "@keyv/mongo": "^2.1.8", "@keyv/redis": "^2.8.1", - "@langchain/google-genai": "^0.0.2", + "@langchain/google-genai": "^0.0.7", "axios": "^1.3.4", "bcryptjs": "^2.4.3", "cheerio": "^1.0.0-rc.12", @@ -54,7 +54,7 @@ "keyv": "^4.5.4", "keyv-file": "^0.2.0", "klona": "^2.0.6", - "langchain": "^0.0.213", + "langchain": "^0.0.214", "librechat-data-provider": "*", "lodash": "^4.17.21", "meilisearch": "^0.33.0", diff --git a/api/server/services/Files/Firebase/initialize.js b/api/server/services/Files/Firebase/initialize.js index 5dc1f9379..67d923c44 100644 --- a/api/server/services/Files/Firebase/initialize.js +++ b/api/server/services/Files/Firebase/initialize.js @@ -21,16 +21,13 @@ const initializeFirebase = () => { }; if (Object.values(firebaseConfig).some((value) => !value)) { - i === 0 && - logger.info( - '[Optional] Firebase configuration missing or incomplete. Firebase will not be initialized.', - ); + i === 0 && logger.info('[Optional] CDN not initialized.'); i++; return null; } firebaseApp = firebase.initializeApp(firebaseConfig); - logger.info('Firebase initialized'); + logger.info('Firebase CDN initialized'); return firebaseApp; }; diff --git a/api/utils/loadYaml.js b/api/utils/loadYaml.js index eec7e2ec6..b7068e209 100644 --- a/api/utils/loadYaml.js +++ b/api/utils/loadYaml.js @@ -6,7 +6,7 @@ function loadYaml(filepath) { let fileContents = fs.readFileSync(filepath, 'utf8'); return yaml.load(fileContents); } catch (e) { - console.error(e); + // console.error(e); } } diff --git a/deploy-compose.yml b/deploy-compose.yml index e811578bd..4f432c31e 100644 --- a/deploy-compose.yml +++ b/deploy-compose.yml @@ -23,6 +23,7 @@ services: - MEILI_HOST=http://meilisearch:7700 volumes: - ./images:/app/client/public/images + - ./librechat.yaml:/app/librechat.yaml client: build: context: . diff --git a/package-lock.json b/package-lock.json index 806b828ce..bd7b518ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,7 +45,7 @@ "@azure/search-documents": "^12.0.0", "@keyv/mongo": "^2.1.8", "@keyv/redis": "^2.8.1", - "@langchain/google-genai": "^0.0.2", + "@langchain/google-genai": "^0.0.7", "axios": "^1.3.4", "bcryptjs": "^2.4.3", "cheerio": "^1.0.0-rc.12", @@ -68,7 +68,7 @@ "keyv": "^4.5.4", "keyv-file": "^0.2.0", "klona": "^2.0.6", - "langchain": "^0.0.213", + "langchain": "^0.0.214", "librechat-data-provider": "*", "lodash": "^4.17.21", "meilisearch": "^0.33.0", @@ -131,9 +131,9 @@ } }, "api/node_modules/@langchain/community": { - "version": "0.0.12", - "resolved": "https://registry.npmjs.org/@langchain/community/-/community-0.0.12.tgz", - "integrity": "sha512-mcm6FxxnLxSx9PiYvehGGwvcHjsVR5WXfYOwymojf/6d0apyewjOLzKsR3xx0HJVtCs8pff7NZSdDoE+jj8OcA==", + "version": "0.0.13", + "resolved": "https://registry.npmjs.org/@langchain/community/-/community-0.0.13.tgz", + "integrity": "sha512-Dh7ri1ZySfX5t6Zz7+jR0kHp769j1+S4IHNyoDnzWlHfPFA5hfF9+zrRRmxV17KVCUawQNoOxgNmZnUjNMm5qg==", "dependencies": { "@langchain/core": "~0.1.5", "@langchain/openai": "~0.0.9", @@ -565,12 +565,12 @@ } }, "api/node_modules/langchain": { - "version": "0.0.213", - "resolved": "https://registry.npmjs.org/langchain/-/langchain-0.0.213.tgz", - "integrity": "sha512-nQDOJXvtIAIuUzamCiF1AWyi2GH9FSDPR+3XulJUEpdU60aSFPZ9GBiWdu+dVHXeAmm8C0iCVi0+3GWLJrUoXA==", + "version": "0.0.214", + "resolved": "https://registry.npmjs.org/langchain/-/langchain-0.0.214.tgz", + "integrity": "sha512-HWdgjuqsir7MYSX3OcKW+XUFZyqhma8yfn4NU/7K5MuIz649g0SejVjuHr3rexmsOvZyHeR3XlwIsqxEtOsF7A==", "dependencies": { "@anthropic-ai/sdk": "^0.9.1", - "@langchain/community": "~0.0.12", + "@langchain/community": "~0.0.13", "@langchain/core": "~0.1.5", "@langchain/openai": "~0.0.9", "binary-extensions": "^2.2.0", @@ -6501,12 +6501,12 @@ } }, "node_modules/@langchain/google-genai": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/@langchain/google-genai/-/google-genai-0.0.2.tgz", - "integrity": "sha512-Q6zgVeZ0IzD976LGhwl86RwyTn6zpdwltVTYGEEag3AyT3zDzALPiyEfORFxublQjIVeIoTiyDJ9MT9nXb1xwg==", + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/@langchain/google-genai/-/google-genai-0.0.7.tgz", + "integrity": "sha512-0VUrzVRS5PW/HhGVdTelDZd8DJVXdyLj2KqHpUNWdXNNMKaLVV6AY2nwqKLA3I4SV0VfOt1/XoZAgPIpQfn4Ow==", "dependencies": { "@google/generative-ai": "^0.1.0", - "@langchain/core": "~0.1.0" + "@langchain/core": "~0.1.5" }, "engines": { "node": ">=18"