diff --git a/.env.example b/.env.example index 414f4e30..3522868f 100644 --- a/.env.example +++ b/.env.example @@ -16,5 +16,5 @@ CORE_PORT=1865 # Log levels LOG_LEVEL=WARNING -# Turn off memory collections' snapshots on embeddder change +# Turn off memory collections' snapshots on embedder change SAVE_MEMORY_SNAPSHOTS=false diff --git a/core/cat/memory/vector_memory.py b/core/cat/memory/vector_memory.py index 90a1b10a..d9783e9d 100644 --- a/core/cat/memory/vector_memory.py +++ b/core/cat/memory/vector_memory.py @@ -129,9 +129,8 @@ def check_embedding_size(self): log.info(f'Collection "{self.collection_name}" has the same embedder') else: log.warning(f'Collection "{self.collection_name}" has different embedder') - # Opt-in memory snapshot saving can be turned off in the .env file with: + # Memory snapshot saving can be turned off in the .env file with: # SAVE_MEMORY_SNAPSHOTS=false - log.critical(os.getenv("SAVE_MEMORY_SNAPSHOTS")) if os.getenv("SAVE_MEMORY_SNAPSHOTS") == "true": # dump collection on disk before deleting self.save_dump()