Add 'd' suffix to dimensions in migration error message

This commit is contained in:
yangdx
2025-12-19 14:06:34 +08:00
parent 37e4d94d19
commit 343ccac929

View File

@@ -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: