mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
A deployment can point fileStrategies.image and fileStrategies.document at different places, and an export mixes images with audio, video, and PDFs. Resolving isImage: true once for the whole archive sent every non-image attachment to the image backend, so it landed somewhere the deployment never meant it to live and could be unavailable after a restart. Both backends are still resolved up front, so a misconfigured strategy fails the job at setup rather than surfacing as a per-asset error halfway through; only the choice between them is per asset. saveBuffer now reports which backend took the bytes so the file row records it. |
||
|---|---|---|
| .. | ||
| 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 | ||