🔧 fix: langchain packages mismatch, mount config file for deploy-compose.yaml, silence config not found error (#1481)

* fix(api): version mismatch between langchain packages `@langchain/google-genai` & `langchain`

* chore(loadYaml): silence config file not found error

* chore: improve firebase init message when not configured (generalized)

* fix(deploy-compose.yml): mount `librechat.yaml` config file
This commit is contained in:
Danny Avila 2024-01-03 10:59:38 -05:00 committed by GitHub
parent ac9543a673
commit d6d3d2ba13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 21 deletions

View file

@ -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;
};