Commit Graph
1 Commits
Author SHA1 Message Date
DhilipBinny f38b6b0ecc fix: prevent embedding corruption in Valkey and Redis when vector is None
When update() is called with vector=None (metadata-only update),
np.array(None) silently creates a 4-byte scalar instead of raising
an error, overwriting the real embedding and making memories
unsearchable. Skip the embedding field entirely when vector is None,
matching the pattern used by 9 other vector store implementations.

Fixes #4336
2026-03-17 01:17:14 +08:00