Originally created by @KyleMasterson on GitHub (Jun 11, 2025).
Originally assigned to: @jackthgu on GitHub.
Check Existing Issues
I have searched the existing issues and discussions.
I am using the latest version of Open WebUI.
Installation Method
Docker
Open WebUI Version
v0.6.13
Ollama Version (if applicable)
No response
Operating System
ghcr.io/open-webui/open-webui
Browser (if applicable)
Version 137.0.7151.69 (Official Build) (arm64)
Confirmation
I have read and followed all instructions in README.md.
I am using the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have provided every relevant configuration, setting, and environment variable used in my setup.
I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
Start with the initial platform/version/OS and dependencies used,
Specify exact install/launch/configure commands,
List URLs visited, user input (incl. example values/emails/passwords if needed),
Describe all options and toggles enabled or changed,
Include any files or environmental changes,
Identify the expected and actual result at each stage,
Ensure any reasonably skilled user can follow and hit the same issue.
Expected Behavior
Providing RAG_FILE_MAX_COUNT should limit the maximum number of files that can be uploaded in a prompt
Actual Behavior
Problem
Providing RAG_FILE_MAX_COUNT does not limit the maximum number of files that can be uploaded in a prompt.
Impact
Despite the fact that we have a RAG_FILE_MAX_SIZE of 10mb, users are able to upload an unlimited number of files, rendering this file size limit useless. To address this, we attempted to set the RAG_FILE_MAX_COUNT which we hoped would limit the single prompt max file upload to (10mb * file count). However, this is not the case, as file upload counts are still unbounded.
These unbounded file uploads are ultimately overwhelming our open-webui instance and causing frequent outages
Steps to Reproduce
Install open-webui as a helm chart to a kubernetes cluster
This was an intended behaviour, if you were to try to chat with the files attached it wouldn't have let you to continue, however, chat input attachement-level filtering has also been applied with d802c718a4
@tjbck commented on GitHub (Jun 16, 2025):
This was an intended behaviour, if you were to try to chat with the files attached it wouldn't have let you to continue, however, chat input attachement-level filtering has also been applied with d802c718a445f1e387417cf1b79ce4387d146a82
@KyleMasterson commented on GitHub (Jun 16, 2025):
@tjbck unfortunately that is untrue, I was able to submit that chat message with all 20 files attached, and was not limited/restricted in any way from doing so.
I'll apply 0.6.15 once it's ready and reply here again if this issue persists
@KyleMasterson commented on GitHub (Jun 16, 2025):
@tjbck unfortunately that is untrue, I was able to submit that chat message with all 20 files attached, and was not limited/restricted in any way from doing so.
I'll apply 0.6.15 once it's ready and reply here again if this issue persists
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @KyleMasterson on GitHub (Jun 11, 2025).
Originally assigned to: @jackthgu on GitHub.
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.13
Ollama Version (if applicable)
No response
Operating System
ghcr.io/open-webui/open-webui
Browser (if applicable)
Version 137.0.7151.69 (Official Build) (arm64)
Confirmation
README.md.Expected Behavior
Providing
RAG_FILE_MAX_COUNTshould limit the maximum number of files that can be uploaded in a promptActual Behavior
Problem
Providing
RAG_FILE_MAX_COUNTdoes not limit the maximum number of files that can be uploaded in a prompt.Impact
Despite the fact that we have a
RAG_FILE_MAX_SIZEof 10mb, users are able to upload an unlimited number of files, rendering this file size limit useless. To address this, we attempted to set theRAG_FILE_MAX_COUNTwhich we hoped would limit the single prompt max file upload to (10mb * file count). However, this is not the case, as file upload counts are still unbounded.These unbounded file uploads are ultimately overwhelming our open-webui instance and causing frequent outages
Steps to Reproduce
Logs & Screenshots
Container logs:
Chrome console logs:
Additional Information
No response
@tjbck commented on GitHub (Jun 16, 2025):
This was an intended behaviour, if you were to try to chat with the files attached it wouldn't have let you to continue, however, chat input attachement-level filtering has also been applied with
d802c718a4@KyleMasterson commented on GitHub (Jun 16, 2025):
@tjbck unfortunately that is untrue, I was able to submit that chat message with all 20 files attached, and was not limited/restricted in any way from doing so.
I'll apply 0.6.15 once it's ready and reply here again if this issue persists