Skip to content

Conversation

pxkundu
Copy link

@pxkundu pxkundu commented Sep 21, 2025

This PR fixes the issue where tuple results were not being handled properly in the get_all method. The fix ensures that tuple results are correctly processed and returned as expected.

- Fix AttributeError when vector store returns tuple instead of list
- Add robust handling for both ScoredPoint objects and dict-based results
- Ensure actual_memories is always a list to prevent iteration over dict keys
- Add comprehensive tests for tuple, dict, and single dict result scenarios

Resolves: mem0ai#3419
@CLAassistant
Copy link

CLAassistant commented Sep 21, 2025

CLA assistant check
All committers have signed the CLA.

- Fixed line length issues in aws_bedrock.py method signature
- Fixed line length issues in pgvector.py docstring and method calls
- Fixed line length issues in valkey.py comments and error messages
- Improved code readability by breaking long lines appropriately
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.

2 participants