mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-06-24 16:36:14 +00:00
* refactor: use keyv for search caching with 1 min expirations * feat: keyvRedis; chore: bump keyv, bun.lockb, add jsconfig for vscode file resolution * feat: api/search redis support * refactor(redis) use ioredis cluster for keyv fix(OpenID): when redis is configured, use redis memory store for express-session * fix: revert using uri for keyvredis * fix(SearchBar): properly debounce search queries, fix weird render behaviors * refactor: add authentication to search endpoint and show error messages in results * feat: redis support for violation logs * fix(logViolation): ensure a number is always being stored in cache * feat(concurrentLimiter): uses clearPendingReq, clears pendingReq on abort, redis support * fix(api/search/enable): query only when authenticated * feat(ModelService): redis support * feat(checkBan): redis support * refactor(api/search): consolidate keyv logic * fix(ci): add default empty value for REDIS_URI * refactor(keyvRedis): use condition to initialize keyvRedis assignment * refactor(connectDb): handle disconnected state (should create a new conn) * fix(ci/e2e): handle case where cleanUp did not successfully run * fix(getDefaultEndpoint): return endpoint from localStorage if defined and endpointsConfig is default * ci(e2e): remove afterAll messages as startup/cleanUp will clear messages * ci(e2e): remove teardown for CI until further notice * chore: bump playwright/test * ci(e2e): reinstate teardown as CI issue is specific to github env * fix(ci): click settings menu trigger by testid
78 lines
2.1 KiB
JSON
78 lines
2.1 KiB
JSON
{
|
|
"name": "@librechat/backend",
|
|
"version": "0.5.9",
|
|
"description": "",
|
|
"scripts": {
|
|
"start": "echo 'please run this from the root directory'",
|
|
"server-dev": "echo 'please run this from the root directory'",
|
|
"test": "cross-env NODE_ENV=test jest",
|
|
"b:test": "NODE_ENV=test bun jest",
|
|
"test:ci": "jest --ci"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/danny-avila/LibreChat.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/danny-avila/LibreChat/issues"
|
|
},
|
|
"homepage": "https://github.com/danny-avila/LibreChat#readme",
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.5.4",
|
|
"@azure/search-documents": "^11.3.2",
|
|
"@keyv/mongo": "^2.1.8",
|
|
"@keyv/redis": "^2.8.0",
|
|
"@waylaidwanderer/chatgpt-api": "^1.37.2",
|
|
"axios": "^1.3.4",
|
|
"bcryptjs": "^2.4.3",
|
|
"cheerio": "^1.0.0-rc.12",
|
|
"cohere-ai": "^6.0.0",
|
|
"connect-redis": "^7.1.0",
|
|
"cookie": "^0.5.0",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.0.3",
|
|
"express": "^4.18.2",
|
|
"express-mongo-sanitize": "^2.2.0",
|
|
"express-rate-limit": "^6.9.0",
|
|
"express-session": "^1.17.3",
|
|
"googleapis": "^118.0.0",
|
|
"handlebars": "^4.7.7",
|
|
"html": "^1.0.0",
|
|
"ioredis": "^5.3.2",
|
|
"jose": "^4.15.2",
|
|
"js-yaml": "^4.1.0",
|
|
"jsonwebtoken": "^9.0.0",
|
|
"keyv": "^4.5.4",
|
|
"keyv-file": "^0.2.0",
|
|
"langchain": "^0.0.153",
|
|
"lodash": "^4.17.21",
|
|
"meilisearch": "^0.33.0",
|
|
"mongoose": "^7.1.1",
|
|
"nodemailer": "^6.9.4",
|
|
"openai": "^4.11.1",
|
|
"openai-chat-tokens": "^0.2.8",
|
|
"openid-client": "^5.4.2",
|
|
"passport": "^0.6.0",
|
|
"passport-custom": "^1.1.1",
|
|
"passport-discord": "^0.1.4",
|
|
"passport-facebook": "^3.0.0",
|
|
"passport-github2": "^0.1.12",
|
|
"passport-google-oauth20": "^2.0.0",
|
|
"passport-jwt": "^4.0.1",
|
|
"passport-local": "^1.0.0",
|
|
"pino": "^8.12.1",
|
|
"sharp": "^0.32.6",
|
|
"tiktoken": "^1.0.10",
|
|
"ua-parser-js": "^1.0.36",
|
|
"winston": "^3.10.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^29.5.0",
|
|
"nodemon": "^3.0.1",
|
|
"supertest": "^6.3.3"
|
|
}
|
|
}
|