diff --git a/cognee/infrastructure/databases/vector/config.py b/cognee/infrastructure/databases/vector/config.py index f8fad473e..23678cca4 100644 --- a/cognee/infrastructure/databases/vector/config.py +++ b/cognee/infrastructure/databases/vector/config.py @@ -39,7 +39,7 @@ class VectorConfig(BaseSettings): values.vector_db_url = ensure_absolute_path( values.vector_db_url, ) - else: + elif not values.vector_db_url: # Default path databases_directory_path = os.path.join(base_config.system_root_directory, "databases") values.vector_db_url = os.path.join(databases_directory_path, "cognee.lancedb")