mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
Two review findings on the import job path. The strategies default basePath to images, which on the local strategy is client/public/images: served statically, with authentication off unless secureImageLinks is set, so an imported PDF or audio file was retrievable by URL without a session. Non-image assets now take the uploads base every other document upload uses, and the base path travels with the backend so the image and document strategies each get the one they mean. The per-user limit also said nothing about aggregate work: enough accounts each within their own limit still parse an export apiece in one heap, and inspection runs unbounded in the upload request besides. Both stages now sit under a node-wide ceiling, CONVERSATION_IMPORT_MAX_CONCURRENT, defaulting to three; requests over it get a 429 they can retry rather than a slot. |
||
|---|---|---|
| .. | ||
| __mocks__ | ||
| app/clients/tools | ||
| server/middleware | ||
| services/Files | ||
| .env.test.example | ||
| chatgptExport.js | ||
| claudeExport.js | ||
| grokExport.js | ||
| jestSetup.js | ||
| migrate-orphaned-agent-files.spec.js | ||