feat: store model configs in the database

This commit is contained in:
Jun Siang Cheah committed 2024-05-19 18:46:24 +08:00
1 parent 1bacd5d93f
commit 4002ead6af
50 files changed
+434 -194

No files matched your search

-4
View File
@@ -549,10 +549,6 @@ WEBHOOK_URL = PersistentConfig(
ENABLE_ADMIN_EXPORT = os.environ.get("ENABLE_ADMIN_EXPORT", "True").lower() == "true"
MODEL_CONFIG = PersistentConfig(
"CONFIG_DATA", "models", {"ollama": [], "litellm": [], "openai": []}
)
####################################
# WEBUI_SECRET_KEY
####################################