LibreChat/api/server/services/Files/Local
Lia 5f8dbf3cf5 🪒 fix: Strip Cache-Bust Suffixes From Every Local File Read
Reused code-interpreter outputs persist a `?v=<timestamp>` suffix on the file
document's filepath, and local storage resolves that field into a filesystem path.
prepareImagesLocal already handled it after the cherry-picked commits; getLocalFileStream
did not, so every download-stream consumer (the download route, provisioning, agent and
skill file reads) still hit ENOENT for a regenerated image.

Move the strip into one documented helper and call it from all three local read paths.
2026-09-16 06:14:08 +00:00
..
__tests__ 🪒 fix: Strip Cache-Bust Suffixes From Every Local File Read 2026-09-16 06:14:08 +00:00
crud.js 🪒 fix: Strip Cache-Bust Suffixes From Every Local File Read 2026-09-16 06:14:08 +00:00
images.js 🪒 fix: Strip Cache-Bust Suffixes From Every Local File Read 2026-09-16 06:14:08 +00:00
index.js 🚀 Feat: Streamline File Strategies & GPT-4-Vision Settings (#1535) 2024-01-11 11:37:54 -05:00
paths.js 🪒 fix: Strip Cache-Bust Suffixes From Every Local File Read 2026-09-16 06:14:08 +00:00