From 12f3265654b3c76d760e4a805aea11d052c0d867 Mon Sep 17 00:00:00 2001 From: Edwin Jose Date: Thu, 4 Sep 2025 15:05:06 -0400 Subject: [PATCH] remove init_index in default file loading --- src/main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.py b/src/main.py index b1190a08..39235541 100644 --- a/src/main.py +++ b/src/main.py @@ -199,8 +199,6 @@ async def init_index_when_ready(): async def ingest_default_documents_when_ready(services): """Scan the local documents folder and ingest files like a non-auth upload.""" try: - # Ensure OpenSearch is ready and indices exist - await init_index() base_dir = os.path.abspath(os.path.join(os.getcwd(), "documents")) if not os.path.isdir(base_dir):