mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-09 11:45:57 -05:00
[GH-ISSUE #12080] feat: Allow to hide enabled models for users #103455
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 @Ithanil on GitHub (Mar 26, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12080
Originally assigned to: @tjbck on GitHub.
Originally posted by @tjbck in https://github.com/open-webui/open-webui/issues/12039#issuecomment-2753183209
More context from https://github.com/open-webui/open-webui/discussions/11836:
Currently, if one sets a global task model that is not available to (all) users, tasks like generating chat titles or queries won't be generated for these users. But I think in many instances people would like to hide models from unaware users that are specifically meant for tasks with very low complexity and not meant for general use.
@taylorwilsdon commented on GitHub (Mar 29, 2025):
+++ on this I've actually resorted to using javascript trickery to hide a couple fine tuned models we use with packaged models as the base and don't want to expose directly to users, great call
@tjbck commented on GitHub (Mar 31, 2025):
Addressed with
def5444ea3in dev@ProjectMoon commented on GitHub (Apr 1, 2025):
Hmm when I click the hide button on a base model, it says model hidden. But then, the model is ... not hidden. 🤔
Nothing strange on the server.
@Classic298 commented on GitHub (Apr 1, 2025):
@ProjectMoon Works perfectly for me. You sure you deleted cache and reloaded the model list after hiding the model with the new hide button? For me it works. It's hidden even for admins.
@ProjectMoon commented on GitHub (Apr 1, 2025):
By cache do you mean browser cache?
@ProjectMoon commented on GitHub (Apr 1, 2025):
Hmm, checked browser console. Actually getting a 422 error back from the server. Didn't see it in the logs. It says "body required" on
/api/v1/models/create.