﻿# LibreChat inferred file delivery: text fallback does not reroute explicit uploads

Understand LibreChat inferred attachment delivery and textFallbackWithoutTools without assuming a stored tool file was automatically read by the model.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-librechat-inferred-file-delivery/
Language: en

## Distinguish storage from model input

A user attaches a document for a tool but asks a question that never invokes that tool. The file can exist in storage without its body reaching the model. Begin by identifying the chosen delivery route and actual tool observation. A visible file chip is not proof that its complete text became part of the answer's input.

## Read the inferred-route rule

The [file configuration reference](https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/file_config) defines `textFallbackWithoutTools` for an inferred route of `none` when no tool reads the attachment. It describes a deliberate optional fallback to extracted text. Preserve whether that setting was active; otherwise the same apparent upload can produce different model input under different endpoint policies.

## Keep explicit destinations authoritative

The same reference excludes explicitly chosen destinations from rerouting. [Upload Files as Text](https://www.librechat.ai/docs/features/upload_as_text) distinguishes automatic delivery from a legacy explicit destination menu. Verify which interface the deployment uses. Do not tell a user that a direct provider or tool upload necessarily becomes text merely because an automatic-route fallback is enabled elsewhere.

For a reference document, capture a short known passage and verify how it reached the model. If the file was stored for a tool and no reading occurred, preserve that gap. Asking the model to summarize the filename would not validate access to the actual document body.

## Separate agent resources from message files

The configuration excludes files retained in agent tool resources from automatic prompt delivery. The [Agents guide](https://www.librechat.ai/docs/features/agents) describes separate File Context, File Search, and Run Code resources. A persistent tool attachment therefore has a different reading contract from text deliberately placed in the agent's recurring context.

## Inspect the fallback's processing limits

The documented fallback uses built-in extraction rather than initiating RAG or OCR processing for a tool-destined file. Previously stored files without extracted text are not backfilled by that option. Treat these conditions as part of the feature's scope; enabling a setting does not establish a new extraction for every historical attachment.

The existing guides to [tool observations](/journal/learn-codex-tool-observation/) and [response contracts](/journal/learn-openrouter-response-contract/) help review that boundary. Test inferred delivery and an explicit destination separately, preserving the actual input path instead of inferring successful document reading from upload success.
