mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[GH-ISSUE #23179] issue: Sending a message and quickly switching conversations causes chat corruption — message is overwritten onto the wrong conversation #19910
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 @ShirasawaSama on GitHub (Mar 28, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23179
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.8.12
Ollama Version (if applicable)
No response
Operating System
Mac
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Actual Behavior
The send request is initiated with Chat A's ID, but due to the rapid conversation switch, the frontend context updates to Chat B. The subsequent API calls (placeholder message creation,
/completionsstreaming, chat history updates) now operate against Chat B's state, causing the message to be forcefully overwritten onto Chat B. Chat A's sent message is lost, and Chat B's history is corrupted.Steps to Reproduce
Enterto send the message.Logs & Screenshots
@Classic298
Additional Information
Fixes #19225
Fix pull request: #22146
@Classic298 commented on GitHub (Mar 28, 2026):
Can reproduce here.
When sending a message and INSTANTLY switching to another chat, it will CORRUPT and BREAK the chat you switch to
The chat switching TO is then completely broken, it will load and load and never finish loading. Exporting and importing the chat also doesnt work. The chat itself becomes broken.
And sometimes the chat you switch FROM also becomes broken by doing this
@tjbck commented on GitHub (Apr 13, 2026):
Should be addressed in dev.