Files
crewAI/tests
Devin AI ab1a6714b5 fix: handle missing parameters in Mem0Storage.search() to prevent KeyError
- Replace unsafe del statements with safe .pop() calls
- Add comprehensive tests for missing parameter scenarios
- Fixes issue #3266 where KeyError occurred with local_mem0_config

The issue occurred when using Memory (OSS) with local_mem0_config where
parameters like 'metadata', 'version', 'output_format' might not be
present in the params dictionary. Using .pop() with None default
safely removes parameters without raising KeyError.

Co-Authored-By: João <joao@crewai.com>
2025-08-03 16:00:43 +00:00
..
2025-03-14 03:00:30 -03:00
2023-10-29 19:51:59 -03:00