[PR #24332] fix: display attached files by chatbot #66459

Open
opened 2026-05-06 12:50:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/24332
Author: @alexbevz
Created: 5/3/2026
Status: 🔄 Open

Base: devHead: fix/response-message-display-files


📝 Commits (1)

  • e468672 fix: display attached files by chatbot

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/lib/components/chat/Messages/ResponseMessage.svelte (+1 -1)

📄 Description

Before submitting, make sure you've checked the following:

  • Target branch: Verify that the pull request targets the dev branch. PRs targeting main will be immediately closed.
  • Description: Provide a concise description of the changes made in this pull request down below.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: It was bug. It is not required to document, because documentation contains it.
  • Dependencies: No new dependencies.
  • Testing: Manually tested that attached files by __event_emitter__ display in chatbot message.
  • Agentic AI Code: Confirm this Pull Request is not written by any AI Agent.
  • Code review: Self-reviewed for coding standards.
  • Design & Architecture: Minimal fix with no new settings.
  • Git Hygiene: Single atomic commit, rebased on dev.
  • Title Prefix: fix:

Changelog Entry

Description

  • Just fixing a old bug related with display of attaching files by chatbot in ResponseMessage.svetle. Early it worked only if __event_emitter__ recieved files (type file or something other) with images (type image). But after fixing works fine. I noticed this bug 1,5 years ago. I haven't gotten around to it.

Added

  • N/A

Changed

  • N/A

Deprecated

  • N/A

Removed

  • N/A

Fixed

  • Displaying attached files by chatbot. Just I removed second part a condition of displaying attached files and images.

Security

  • N/A

Breaking Changes

  • N/A

Additional Information

  • N/A

Screenshots or Videos

image

Contributor License Agreement


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/24332 **Author:** [@alexbevz](https://github.com/alexbevz) **Created:** 5/3/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `fix/response-message-display-files` --- ### 📝 Commits (1) - [`e468672`](https://github.com/open-webui/open-webui/commit/e468672849a458214debe323db330bd7d04f4337) fix: display attached files by chatbot ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/Messages/ResponseMessage.svelte` (+1 -1) </details> ### 📄 Description **Before submitting, make sure you've checked the following:** - [x] **Target branch:** Verify that the pull request targets the `dev` branch. **PRs targeting `main` will be immediately closed.** - [x] **Description:** Provide a concise description of the changes made in this pull request down below. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [x] **Documentation:** It was bug. It is not required to document, because documentation contains it. - [x] **Dependencies:** No new dependencies. - [x] **Testing:** Manually tested that attached files by `__event_emitter__` display in chatbot message. - [x] **Agentic AI Code:** Confirm this Pull Request is not written by any AI Agent. - [x] **Code review:** Self-reviewed for coding standards. - [x] **Design & Architecture:** Minimal fix with no new settings. - [x] **Git Hygiene:** Single atomic commit, rebased on dev. - [x] **Title Prefix:** fix: # Changelog Entry ### Description - Just fixing a old bug related with display of attaching files by chatbot in `ResponseMessage.svetle`. Early it worked only if `__event_emitter__` recieved files (type `file` or something other) with images (type `image`). But after fixing works fine. I noticed this bug 1,5 years ago. I haven't gotten around to it. ### Added - N/A ### Changed - N/A ### Deprecated - N/A ### Removed - N/A ### Fixed - Displaying attached files by chatbot. Just I removed second part a condition of displaying attached files and images. ### Security - N/A ### Breaking Changes - N/A --- ### Additional Information - N/A ### Screenshots or Videos - <img width="2559" height="1276" alt="image" src="https://github.com/user-attachments/assets/78053d0e-0c9d-4d4e-bef2-d5d732964413" /> ### Contributor License Agreement - [x] By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 12:50:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#66459