mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
runImport returns normally when the cancel flag breaks its loop, so the completion patch overwrote a cancelled job with completed; it now keeps the cancelled phase and records only the partial report. Cancelling a running job no longer deletes the archive the run still holds, which was turning a clean cancellation into an ENOENT failure. Same-named uploads shared one temp path, so a second import could replace the archive a running job was reading; import uploads are now stored under their per-upload id. The 400 branch on upload echoed raw multer/fs messages, leaking the absolute upload path, and now routes through sanitizeImportError like every other channel. |
||
|---|---|---|
| .. | ||
| controllers | ||
| middleware | ||
| routes | ||
| services | ||
| utils | ||
| cleanup.js | ||
| experimental.js | ||
| experimental.spec.js | ||
| index.js | ||
| index.metrics.spec.js | ||
| index.spec.js | ||
| socialLogins.js | ||
| socialLogins.spec.js | ||
| telemetry.js | ||
| telemetry.spec.js | ||