mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-26 19:38:22 -05:00
[PR #7459] [CLOSED] chore: Allow to configure that all models are available for all users env var #76935
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/7459
Author: @simonfrey
Created: 11/28/2024
Status: ❌ Closed
Base:
dev← Head:allow_all_users_all_models📝 Commits (2)
0a26c41Merge pull request #7399 from open-webui/dev40413aeAllow to configure that all models are available for all users via ALLOW_ALL_MODELS_TO_USERS=true env var📊 Changes
5 files changed (+35 additions, -12 deletions)
View changed files
📝
backend/open_webui/apps/ollama/main.py(+5 -5)📝
backend/open_webui/apps/openai/main.py(+3 -2)📝
backend/open_webui/config.py(+2 -0)📝
backend/open_webui/main.py(+9 -5)➕
backend/open_webui/utils/check_model_access.py(+16 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
As of the 0.4.0 change, per default normal users don't get access to any models. This breaks my (and as I read in issues, other as well - see https://github.com/open-webui/open-webui/discussions/7107) workflows.
This PR allows to set the env var
ALLOW_ALL_MODELS_TO_USERS=truewhich then skips the model filtering, which should allow all users to access all models again.Changed
ALLOW_ALL_MODELS_TO_USERSwhich allows all users to access all models by default🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.