This commit is contained in:
Timothy Jaeryang Baek
2026-04-13 13:44:44 -05:00
parent d1a0fbe292
commit 8936721414
3 changed files with 82 additions and 5 deletions
+2 -1
View File
@@ -470,6 +470,7 @@ from open_webui.config import (
AUTOCOMPLETE_GENERATION_INPUT_MAX_LENGTH,
AppConfig,
reset_config,
async_reset_config,
)
from open_webui.env import (
ENABLE_CUSTOM_MODEL_FALLBACK,
@@ -625,7 +626,7 @@ async def lifespan(app: FastAPI):
start_logger()
if RESET_CONFIG_ON_START:
reset_config()
await async_reset_config()
if LICENSE_KEY:
get_license_data(app, LICENSE_KEY)