LibreChat/api/server/services/Files
Danny Avila 7dddc4ef05 fix: judge file consumers where they run, not where they upload
Three related corrections from review, all one theme: upload time cannot
see what will read a file.

Stop refusing an upload for having no consumer on the agent record. A
skill contributes file search or code execution for a turn through its
allowed tools, and those are resolved per turn rather than stored on the
agent, so an empty tool list was never evidence that nothing would read
the file. The list still files an upload under a tool it names; it just
no longer refuses one by its silence. This restores the pre-branch
behavior for those uploads rather than introducing a new outcome.

Warn at boot when a delivery fallback is set to none. The fallback
covers every type no override names, so leaving it unannounced hid a
wider change than any single override could make.

Align the native text matcher with the textual MIME set in the
content-protection code, adding javascript and x-yaml, and normalize
parameters and case before matching so a browser-sent
"text/plain; charset=utf-8" is still recognized.

Drops mimeType from resolveUploadDestination, which no longer reads it.
2026-08-31 23:14:05 -04:00
..
Audio 🛂 feat: Filter Model-Bound Content by Source (#14425) 2026-08-21 22:43:32 -04:00
Azure 🪣 refactor: Rate-Limit Token Routes and Cap Remote File Downloads (#13978) 2026-06-26 12:19:03 -04:00
Citations
Code 🗿 feat: Add Attached Stateful Code Environments (#15352) 2026-08-30 15:38:45 -04:00
Firebase 🪣 refactor: Rate-Limit Token Routes and Cap Remote File Downloads (#13978) 2026-06-26 12:19:03 -04:00
images fix: bound peak memory of concurrent base64 attachment encoding (#14023) 2026-07-01 08:22:16 -04:00
Local 🪣 refactor: Rate-Limit Token Routes and Cap Remote File Downloads (#13978) 2026-06-26 12:19:03 -04:00
OpenAI
VectorDB
index.js
permissions.js 🧱 fix: Enforce Agent Runtime File Trust Boundaries (#14577) 2026-08-02 14:18:28 -04:00
permissions.spec.js 🧱 fix: Enforce Agent Runtime File Trust Boundaries (#14577) 2026-08-02 14:18:28 -04:00
process.integration.spec.js 🧹 fix: Clean Up Orphaned Agent File Stubs After Deletion (#12781) 2026-04-22 11:35:48 -07:00
process.js fix: judge file consumers where they run, not where they upload 2026-08-31 23:14:05 -04:00
process.spec.js fix: judge file consumers where they run, not where they upload 2026-08-31 23:14:05 -04:00
provision.js 🏗️ refactor: Move provisioning into the TypeScript workspace 2026-08-31 15:20:54 -04:00
provisionCallback.js 🗂️ fix: Track embeddings per namespace and keep unparsable files off the text path 2026-08-31 19:29:05 -04:00
retention.js 📨 feat: Continue Bound Child Agents from Events (#15112) 2026-08-23 01:15:57 -04:00
retention.spec.js 📨 feat: Continue Bound Child Agents from Events (#15112) 2026-08-23 01:15:57 -04:00
routing.js 🧭 fix: Move upload routing into TypeScript and keep unplayable media off the model path 2026-08-31 18:59:46 -04:00
strategies.js 🗄️ refactor: Honor All-Data Retention for Agent Files (#13424) 2026-05-30 22:32:22 -04:00