Spaces:
Sleeping
Sleeping
Update memory_logic.py
Browse files- memory_logic.py +1 -3
memory_logic.py
CHANGED
@@ -503,6 +503,4 @@ def load_faiss_indices_from_disk():
|
|
503 |
logger.info(f"Rules FAISS index loaded ({_faiss_rules_index.ntotal} items).")
|
504 |
if _faiss_rules_index.ntotal != len(_rules_items_list) and len(_rules_items_list) > 0:
|
505 |
logger.warning(f"Rules FAISS index count ({_faiss_rules_index.ntotal}) differs from loaded texts ({len(_rules_items_list)}). Consider rebuilding FAISS.")
|
506 |
-
except Exception as e: logger.error(f"Error loading rules FAISS index: {e}. Will use fresh index.")
|
507 |
-
|
508 |
-
|
|
|
503 |
logger.info(f"Rules FAISS index loaded ({_faiss_rules_index.ntotal} items).")
|
504 |
if _faiss_rules_index.ntotal != len(_rules_items_list) and len(_rules_items_list) > 0:
|
505 |
logger.warning(f"Rules FAISS index count ({_faiss_rules_index.ntotal}) differs from loaded texts ({len(_rules_items_list)}). Consider rebuilding FAISS.")
|
506 |
+
except Exception as e: logger.error(f"Error loading rules FAISS index: {e}. Will use fresh index.")
|
|
|
|