From 0482a731c80f1c0e09ba8ecab1677711dc6511a4 Mon Sep 17 00:00:00 2001 From: Igor Ilic Date: Fri, 12 Sep 2025 12:39:06 +0200 Subject: [PATCH] fix: Resolve issue with vector url usage --- cognee/infrastructure/databases/vector/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")