mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #16673] [CLOSED] fix(chat/messages): skip tag generation for image-only messages #63061
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/16673
Author: @sihyeonn
Created: 8/16/2025
Status: ❌ Closed
Base:
dev← Head:fix/sh-skip-tag-generation📝 Commits (1)
a420943fix(chat/messages): skip tag generation for image-only messages📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+3 -2)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
isImageOnlyMessagecheck to bypass automatic tag generation when a message contains only image files and no text.Added
isImageOnlyMessagefor message type detection.Changed
!isImageOnlyMessage && !updatedMessage.annotation?.tagsDeprecated
Removed
Fixed
generateTagscalls on pure-image messages, reducing latency and avoiding occasional failures.Security
Breaking Changes
Additional Information
Screenshots or Videos
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.