mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 21:13:59 +00:00
add filter toggle envvars
This commit is contained in:
parent
3164354c0b
commit
32874a816d
@ -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 New Issue
Block a user