mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-09 10:50:35 -06:00
[PR #18852] [CLOSED] fix(chat): prevent duplicate prompt suggestions causing UI freeze #48047
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/18852
Author: @fsmw
Created: 11/1/2025
Status: ❌ Closed
Base:
dev← Head:fix/18566-duplicate-prompt-suggestions-freeze📝 Commits (1)
5255a3afix(chat): prevent duplicate prompt suggestions causing UI freeze📊 Changes
1 file changed (+4 additions, -1 deletions)
View changed files
📝
src/lib/components/chat/Suggestions.svelte(+4 -1)📄 Description
Summary
Add reactive deduplication logic to prevent duplicate prompt suggestions from causing UI freeze in Svelte each block.
Issue
Fixes #18566 - Duplicate prompt suggestions freezes webpage and throws JS error (2 bugs!)
Changes Made
Testing
Additional Information
This fix addresses the root cause of browser freezing when duplicate prompt content exists by ensuring unique keys in the Svelte each block.
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.