Skip to content

Conversation

@MatthiasHowellYopp
Copy link

@MatthiasHowellYopp MatthiasHowellYopp commented Dec 9, 2025

changes to support using mem0 with valkey/redis as external memory provider for crewai

fixes #4031


Note

Flattens Mem0Storage search filters for Valkey/Redis providers and adds comprehensive tests for provider behavior and None-config safety.

  • Memory/Search (Mem0Storage):
    • Flatten filters when vector_store.provider is valkey or redis and there's a single condition (return lone AND/OR entry directly).
    • Preserve structured AND/OR filters in other cases/providers.
  • Tests:
    • Add cases for Valkey and Redis verifying flattened single-condition filters.
    • Verify multiple-condition OR filters remain structured for Valkey.
    • Ensure non-Valkey/Redis providers keep AND structure.
    • Add robustness tests handling local_mem0_config and vector_store set to None without errors.

Written by Cursor Bugbot for commit 13b48eb. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on December 28

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant