mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-09 15:25:32 -05:00
Unable to delete broken chat #461
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 @Zambito1 on GitHub (Mar 12, 2024).
Bug Report
Description
Bug Summary:
I apologize that this will be pretty vague, but I have a chat that simply will hang the UI when I try to click on it. The only way I can navigate away from it is by refreshing the page. Hovering overy things in the interface will highlight them as if I can click them, but clicking does nothing. I get this stack trace in the JS console (selectable text below):
Steps to Reproduce:
It's hard for me to give the exact steps because I cannot see the chat history. From what I recall: I was playing with Modelfiles, and I accidentally created a chat that printed a ton of newlines. I'm not certain that this was that chat unfortunately, but given the
srollHeightin the error, it seems to point in that direction to me.Expected Behavior:
I should be able to select the chat and view the dialog. After selecting the chat, I should be able to navigate away from it.
Actual Behavior:

After selecting the chat I see a blank screen (no dialog):
And clicking things that should navigate away (anything in the left column) has no effect.
Environment
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
Docker Container Logs:
N/A, just GET the chat UUID.
Screenshots (if applicable):
See above
Installation Method
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main
Additional Information
I don't have the exact Modelfile that I was using, but it shouldn't be hard to create one that will spam newlines. I was playing around with the TEMPLATE of text completion models (rather than instruct / chat models).
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!
@tjbck commented on GitHub (Mar 12, 2024):
Hi, I wasn't able to reproduce the issue but I edited some code which might resolve your issue to our dev branch. Let me know if that fixes the issue!
@Zambito1 commented on GitHub (Mar 12, 2024):
Thannks for taking a look. I tried it out on
devand I am able to see the text of the chat now, but it still stops me from navigating away.This is the log I get now:
If it helps, this is the content of the chat. It's not the one that I was thinking of before where it went off the screen with newlines.
Unfortunately I have iterated on the Modelfile since then, so I am not able to get that to you for testing either.
@tjbck commented on GitHub (Mar 13, 2024):
Hmm, I'm not sure what would fix it, I'll move this to discussion for now. Let us know if you find a way to reliably reproduce the issue!