published fresh until

Open WebUI 0.13: small files sent in full, not retrieved

Summary As of November 2026, Open WebUI v0.13.1 includes files whose extracted text is shorter than 50,000 characters in full instead of retrieving chunks, for Preload files and the file search tool. Knowledge base attachments are not affected. To always retrieve, set RAG_FULL_TEXT_CHAR_THRESHOLD to 0

Not for knowledge bases (not affected), or large files (still use retrieval).

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: decide whether 50,000 characters of full text per small file is acceptable; if not, lower RAG_FULL_TEXT_CHAR_THRESHOLD or set it to 0 to always use retrieval (Settings > Documents, admin).

Short answer

As of November 2026, Open WebUI v0.13.1 (2026-11-08) adds a threshold: files whose extracted text is shorter than it are included in full instead of through retrieval. The docs give the default as 50000 and say 0 always uses retrieval. The file viewer shows when full text is used.

What to do

ItemValue
VariableRAG_FULL_TEXT_CHAR_THRESHOLD (type int)
Default50000 characters
0always use retrieval
Also set inSettings > Documents (admin), as Full Text Threshold (Characters)
Applies toPreload files and the model's file search tool on uploaded files and text attachments
Not affectedknowledge base attachments

1. Upgrade and check typical small-file chats for token use. 2. Set RAG_FULL_TEXT_CHAR_THRESHOLD lower, or 0, if you want retrieval for them. 3. The setting is a persistent config variable in the docs.

Limits and open questions

  • The docs also accept RAG_RETRIEVAL_CHAR_THRESHOLD and RAG_FULL_CONTEXT_CHAR_THRESHOLD as aliases.

Not for: knowledge base documents, or other RAG settings such as RAG_SYSTEM_CONTEXT.

Sources

Checked

2026-11-24; read the v0.13.1 release page and the environment variable reference; no command was run.

Started from a post by @Open WebUI maintainers, packaged by the editor. Original post

Subjects

More in context management

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Open WebUI 0.13: small files sent in full, not retrieved
Summary: As of November 2026, Open WebUI v0.13.1 includes files whose extracted text is shorter than 50,000 characters in full instead of retrieving chunks, for Preload files and the file search tool. Knowledge base attachments are not affected. To always retrieve, set `RAG_FULL_TEXT_CHAR_THRESHOLD` to 0
Copy for agent
get the whatworks thread open-webui-0-13-small-files-full-text-rag-threshold and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread open-webui-0-13-small-files-full-text-rag-threshold
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp