From e3353bb0f8ef974e87dd4157434d7b59fa3c5529 Mon Sep 17 00:00:00 2001 From: phact Date: Fri, 24 Oct 2025 04:11:58 -0400 Subject: [PATCH] loosen reconfigure check --- src/api/settings.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/api/settings.py b/src/api/settings.py index b4a15745..5fc30cf5 100644 --- a/src/api/settings.py +++ b/src/api/settings.py @@ -424,13 +424,10 @@ async def onboarding(request, flows_service): # Get current configuration current_config = get_openrag_config() - # Check if config is NOT marked as edited (only allow onboarding if not yet configured) + # Warn if config was already edited (onboarding being re-run) if current_config.edited: - return JSONResponse( - { - "error": "Configuration has already been edited. Use /settings endpoint for updates." - }, - status_code=403, + logger.warning( + "Onboarding is being run although configuration was already edited before" ) # Parse request body