mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #10966] Attached filename injected in the response of the model #16093
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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