mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
add filter toggle envvars
This commit is contained in:
parent
3164354c0b
commit
32874a816d
1 changed files with 6 additions and 0 deletions
|
|
@ -174,6 +174,12 @@ for version in soup.find_all("h2"):
|
|||
|
||||
CHANGELOG = changelog_json
|
||||
|
||||
####################################
|
||||
# FILTERS
|
||||
####################################
|
||||
|
||||
ENABLE_TOOLS_FILTER = os.environ.get("ENABLE_TOOLS_FILTER", "True").lower() == "true"
|
||||
ENABLE_FILES_FILTER = os.environ.get("ENABLE_FILES_FILTER", "True").lower() == "true"
|
||||
|
||||
####################################
|
||||
# SAFE_MODE
|
||||
|
|
|
|||
Loading…
Reference in a new issue