Open WebUI Version: 0.5.18 (but the same behavior was present also in past versions)
Operating System: RaspberryOS
Browser (if applicable): Firefox
Confirmation:
I have read and followed all the instructions provided in the README.md.
I am on 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 the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Expected Behavior:
When I attach a file in a conversation, the filename should not be included in the answer, if not requested.
Actual Behavior:
When I attach a file in a conversation and the answer by the model includes formatted code, the filename of the attached file is "randomly" included in the response, invalidating the provided code.
Description
Bug Summary:
Find attached the screenshots.
Reproduction Details
Steps to Reproduce:
Open a chat, attach a file, select to use the entire content of the file, ask a question that includes the generation of code.
Screenshots/Screen Recordings (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
Originally created by @mariomaz87 on GitHub (Feb 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10966
Originally assigned to: @tjbck on GitHub.
## Installation Method
Docker Compose on a Raspberry Pi with RaspberryOS
## Environment
- **Open WebUI Version:** 0.5.18 (but the same behavior was present also in past versions)
- **Operating System:** RaspberryOS
- **Browser (if applicable):** Firefox
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on the latest version of both Open WebUI and Ollama.
- [ ] I have included the browser console logs.
- [ ] I have included the Docker container logs.
- [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
When I attach a file in a conversation, the filename should not be included in the answer, if not requested.
## Actual Behavior:
When I attach a file in a conversation and the answer by the model includes formatted code, the filename of the attached file is "randomly" included in the response, invalidating the provided code.
## Description
**Bug Summary:**
Find attached the screenshots.
## Reproduction Details
**Steps to Reproduce:**
Open a chat, attach a file, select to use the entire content of the file, ask a question that includes the generation of code.
## Logs and Screenshots


**Browser Console Logs:**
Can't find anything relevant
**Docker Container Logs:**
Can't find anything relevant
**Screenshots/Screen Recordings (if applicable):**
[Attach any relevant screenshots to help illustrate the issue]
## Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
## Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
I have the same problem, I thought it was the model I was using, even tried asking it to not include the file name in the response but to no avail.
<!-- gh-comment-id:2695802574 -->
@DarremMolko commented on GitHub (Mar 3, 2025):
I have the same problem, I thought it was the model I was using, even tried asking it to not include the file name in the response but to no avail.
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 @mariomaz87 on GitHub (Feb 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10966
Originally assigned to: @tjbck on GitHub.
Installation Method
Docker Compose on a Raspberry Pi with RaspberryOS
Environment
Open WebUI Version: 0.5.18 (but the same behavior was present also in past versions)
Operating System: RaspberryOS
Browser (if applicable): Firefox
Confirmation:
Expected Behavior:
When I attach a file in a conversation, the filename should not be included in the answer, if not requested.
Actual Behavior:
When I attach a file in a conversation and the answer by the model includes formatted code, the filename of the attached file is "randomly" included in the response, invalidating the provided code.
Description
Bug Summary:
Find attached the screenshots.
Reproduction Details
Steps to Reproduce:
Open a chat, attach a file, select to use the entire content of the file, ask a question that includes the generation of code.
Logs and Screenshots
Browser Console Logs:
Can't find anything relevant
Docker Container Logs:
Can't find anything relevant
Screenshots/Screen Recordings (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@DarremMolko commented on GitHub (Mar 3, 2025):
I have the same problem, I thought it was the model I was using, even tried asking it to not include the file name in the response but to no avail.
@tjbck commented on GitHub (Mar 4, 2025):
Status: Open.
#11111