mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-09 10:50:35 -06:00
[PR #18849] [CLOSED] fix(chat): prevent duplicate prompt suggestions causing UI freeze #96034
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/18849
Author: @fsmw
Created: 11/1/2025
Status: ❌ Closed
Base:
main← 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.
I agree to the terms of the Contributor License Agreement (CLA) and grant the necessary rights for my contributions to be included in this open-source project.
💘 Generated with Crush
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.