mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
refac: ENABLE_MODEL_LIST_CACHE -> ENABLE_BASE_MODELS_CACHE
This commit is contained in:
@@ -931,13 +931,13 @@ OPENAI_API_BASE_URL = "https://api.openai.com/v1"
|
||||
|
||||
|
||||
####################################
|
||||
# MODEL_LIST
|
||||
# MODELS
|
||||
####################################
|
||||
|
||||
ENABLE_MODEL_LIST_CACHE = PersistentConfig(
|
||||
"ENABLE_MODEL_LIST_CACHE",
|
||||
"models.cache",
|
||||
os.environ.get("ENABLE_MODEL_LIST_CACHE", "False").lower() == "true",
|
||||
ENABLE_BASE_MODELS_CACHE = PersistentConfig(
|
||||
"ENABLE_BASE_MODELS_CACHE",
|
||||
"models.base_models_cache",
|
||||
os.environ.get("ENABLE_BASE_MODELS_CACHE", "False").lower() == "true",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user