mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[GH-ISSUE #14806] issue: UI gets stuck in loading state when switching back to conversation with revoked model permissions #17368
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 (Jun 9, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14806
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.14 (dev)
Ollama Version (if applicable)
No response
Operating System
MacOS 15.5
Browser (if applicable)
Edge Latest
Confirmation
README.md.Expected Behavior
After permissions are restored, the conversation should load normally when switching back.
There should be other more humane display information presented to users.
To be precise, I am not sure what should ultimately be presented to users, so I am currently unable to submit a PR.
Actual Behavior
Steps to Reproduce
Logs & Screenshots
After admin restores the user's permission for that model:
Additional Information
This creates a confusing user experience where conversations become inaccessible after any permission-related issues occur, even when permissions are restored or when the conversation should simply display previous error messages.
@silentoplayz commented on GitHub (Oct 24, 2025):
I believe this issue is reproducible with the provided reproduction steps. The previous

Model Not Foundbanner-like error is replaced with the thinking/loading indicator dot when I click away from and go back to the chat I tested with.@silentoplayz commented on GitHub (Dec 15, 2025):
This is still reproducible on the latest
devcommit, but is it actually a bug? What do you expect to see other than the loading indicator dot when it comes to your reproduction steps? Once you restore the user's permission to the model, the user wouldn't expect to see the "Model not found" error in their chat upon returning back to it, because it simply wouldn't be true anymore.I just don't see this being a bug, as the model never provided a response initially due to the user not having permission. Before, you would've saw the
Model not founderror.@ShirasawaSama commented on GitHub (Dec 16, 2025):
@silentoplayz I believe the best approach is to prevent users from sending messages. Common solutions include displaying a toast notification or showing an error directly in the model's response after the attempt. The current persistent “loading” status is highly unusual and will lead users to assume it's a bug.
@silentoplayz commented on GitHub (Dec 16, 2025):
But displaying an error directly in place of the model's response is what triggers this issue. I agree with preventing a message from being sent to a model that the user no longer has access to. Displaying a toast notification to the user about the model not being found may be more ideal here, as it would prevent a message being sent to a model that isn't found in the first place.