From 343ccac9291518c5bf072bc3ffa9e28dcc287661 Mon Sep 17 00:00:00 2001 From: yangdx Date: Fri, 19 Dec 2025 14:06:34 +0800 Subject: [PATCH] Add 'd' suffix to dimensions in migration error message --- lightrag/kg/postgres_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/kg/postgres_impl.py b/lightrag/kg/postgres_impl.py index 755bc634..e75f9036 100644 --- a/lightrag/kg/postgres_impl.py +++ b/lightrag/kg/postgres_impl.py @@ -2399,7 +2399,7 @@ class PGVectorStorage(BaseVectorStorage): ) raise DataMigrationError( f"Dimension mismatch between legacy table '{legacy_table_name}' " - f"and new embedding model. Expected {embedding_dim} but got {legacy_dim}." + f"and new embedding model. Expected {embedding_dim}d but got {legacy_dim}d." ) except DataMigrationError: