feat: update to persistent config
This commit is contained in:
1 parent
0665703401
commit
5d3eddf7e9
7 files changed
+89
-8
No files matched your search
+3
-1
@@ -541,7 +541,9 @@ WEBHOOK_URL = PersistentConfig(
|
||||
|
||||
ENABLE_ADMIN_EXPORT = os.environ.get("ENABLE_ADMIN_EXPORT", "True").lower() == "true"
|
||||
|
||||
MODEL_CONFIG = CONFIG_DATA.get("models", {"ollama": [], "litellm": [], "openai": []})
|
||||
MODEL_CONFIG = PersistentConfig(
|
||||
"CONFIG_DATA", "models", {"ollama": [], "litellm": [], "openai": []}
|
||||
)
|
||||
|
||||
####################################
|
||||
# WEBUI_SECRET_KEY
|
||||
|
||||
Reference in new issue
Block a user