Skip to content

Commit bef4775

Browse files
csmangumCopilot
andauthored
Update memory/embeddings/vector_store.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3b10854 commit bef4775

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

memory/embeddings/vector_store.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,9 +619,13 @@ def filter_fn(metadata):
619619
continue
620620

621621
# No match found for this key
622-
logger.debug("No match found for %s: %s", key, value)
622+
unmatched_keys.append((key, value))
623623
return False
624624

625+
if unmatched_keys:
626+
logger.debug("No matches found for the following keys and values: %s", unmatched_keys)
627+
else:
628+
logger.debug("All filter criteria matched")
625629
# All keys matched
626630
logger.debug("All filter criteria matched")
627631
return True

0 commit comments

Comments
 (0)