mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-24 04:10:15 +01:00
* chore: bump openai to 4.29.0 and npm audit fix * chore: remove unnecessary stream field from ContentData * feat: new enum and types for AssistantStreamEvent * refactor(AssistantService): remove stream field and add conversationId to text ContentData > - return `finalMessage` and `text` on run completion > - move `processMessages` to services/Threads to avoid circular dependencies with new stream handling > - refactor(processMessages/retrieveAndProcessFile): add new `client` field to differentiate new RunClient type * WIP: new assistants stream handling * chore: stores messages to StreamRunManager * chore: add additional typedefs * fix: pass req and openai to StreamRunManager * fix(AssistantService): pass openai as client to `retrieveAndProcessFile` * WIP: streaming tool i/o, handle in_progress and completed run steps * feat(assistants): process required actions with streaming enabled * chore: condense early return check for useSSE useEffect * chore: remove unnecessary comments and only handle completed tool calls when not function * feat: add TTL for assistants run abort cacheKey * feat: abort stream runs * fix(assistants): render streaming cursor * fix(assistants): hide edit icon as functionality is not supported * fix(textArea): handle pasting edge cases; first, when onChange events wouldn't fire; second, when textarea wouldn't resize * chore: memoize Conversations * chore(useTextarea): reverse args order * fix: load default capabilities when an azure is configured to support assistants, but `assistants` endpoint is not configured * fix(AssistantSelect): update form assistant model on assistant form select * fix(actions): handle azure strict validation for function names to fix crud for actions * chore: remove content data debug log as it fires in rapid succession * feat: improve UX for assistant errors mid-request * feat: add tool call localizations and replace any domain separators from azure action names * refactor(chat): error out tool calls without outputs during handleError * fix(ToolService): handle domain separators allowing Azure use of actions * refactor(StreamRunManager): types and throw Error if tool submission fails
94 lines
2.5 KiB
JSON
94 lines
2.5 KiB
JSON
{
|
|
"name": "@librechat/backend",
|
|
"version": "0.6.10",
|
|
"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",
|
|
"_moduleAliases": {
|
|
"~": "."
|
|
},
|
|
"imports": {
|
|
"~/*": "./*"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/danny-avila/LibreChat/issues"
|
|
},
|
|
"homepage": "https://librechat.ai",
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.16.1",
|
|
"@azure/search-documents": "^12.0.0",
|
|
"@keyv/mongo": "^2.1.8",
|
|
"@keyv/redis": "^2.8.1",
|
|
"@langchain/community": "^0.0.17",
|
|
"@langchain/google-genai": "^0.0.8",
|
|
"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",
|
|
"file-type": "^18.7.0",
|
|
"firebase": "^10.8.0",
|
|
"googleapis": "^126.0.1",
|
|
"handlebars": "^4.7.7",
|
|
"html": "^1.0.0",
|
|
"ioredis": "^5.3.2",
|
|
"js-yaml": "^4.1.0",
|
|
"jsonwebtoken": "^9.0.0",
|
|
"keyv": "^4.5.4",
|
|
"keyv-file": "^0.2.0",
|
|
"klona": "^2.0.6",
|
|
"langchain": "^0.0.214",
|
|
"librechat-data-provider": "*",
|
|
"lodash": "^4.17.21",
|
|
"meilisearch": "^0.37.0",
|
|
"mime": "^3.0.0",
|
|
"module-alias": "^2.2.3",
|
|
"mongoose": "^7.1.1",
|
|
"multer": "^1.4.5-lts.1",
|
|
"nodejs-gpt": "^1.37.4",
|
|
"nodemailer": "^6.9.4",
|
|
"openai": "^4.29.0",
|
|
"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",
|
|
"traverse": "^0.6.7",
|
|
"ua-parser-js": "^1.0.36",
|
|
"winston": "^3.11.0",
|
|
"winston-daily-rotate-file": "^4.7.1",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^29.5.0",
|
|
"nodemon": "^3.0.1",
|
|
"supertest": "^6.3.3"
|
|
}
|
|
}
|