[GH-ISSUE #12080] feat: Allow to hide enabled models for users #71064

Closed
opened 2026-05-13 03:02:08 -05:00 by GiteaMirror · 6 comments
Owner

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.

          Hide model feature should be introduce instead of this. Thanks.

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.

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. Hide model feature should be introduce instead of this. Thanks. _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.
Author
Owner

@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

<!-- gh-comment-id:2763388530 --> @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
Author
Owner

@tjbck commented on GitHub (Mar 31, 2025):

Addressed with def5444ea3 in dev

<!-- gh-comment-id:2767669656 --> @tjbck commented on GitHub (Mar 31, 2025): Addressed with def5444ea3d1bfba18f808991e471d52eda3b78e in dev
Author
Owner

@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.

<!-- gh-comment-id:2769554784 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:2769576678 --> @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.
Author
Owner

@ProjectMoon commented on GitHub (Apr 1, 2025):

By cache do you mean browser cache?

<!-- gh-comment-id:2769627226 --> @ProjectMoon commented on GitHub (Apr 1, 2025): By cache do you mean browser cache?
Author
Owner

@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.

<!-- gh-comment-id:2769637936 --> @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`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#71064