mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
Add support for External Memory (the future replacement for UserMemory) (#2510)
* fix: surfacing properly supported types by Mem0Storage * feat: prepare Mem0Storage to accept config paramenter We're planning to remove `memory_config` soon. This commit kindly prepare this storage to accept the config provided directly * feat: add external memory * fix: cleanup Mem0 warning while adding messages to the memory * feat: support set the current crew in memory This can be useful when a memory is initialized before the crew, but the crew might still be a very relevant attribute * fix: allow to reset only an external_memory from crew * test: add external memory test * test: ensure the config takes precedence over memory_config when setting mem0 * fix: support to provide a custom storage to External Memory * docs: add docs about external memory * chore: add warning messages about the deprecation of UserMemory * fix: fix typing check --------- Co-authored-by: Lorenze Jay <63378463+lorenzejay@users.noreply.github.com>
This commit is contained in:
652
tests/memory/external/cassettes/test_crew_external_memory_save.yaml
vendored
Normal file
652
tests/memory/external/cassettes/test_crew_external_memory_save.yaml
vendored
Normal file
File diff suppressed because one or more lines are too long
650
tests/memory/external/cassettes/test_crew_external_memory_save[save].yaml
vendored
Normal file
650
tests/memory/external/cassettes/test_crew_external_memory_save[save].yaml
vendored
Normal file
File diff suppressed because one or more lines are too long
836
tests/memory/external/cassettes/test_crew_external_memory_save[search].yaml
vendored
Normal file
836
tests/memory/external/cassettes/test_crew_external_memory_save[search].yaml
vendored
Normal file
File diff suppressed because one or more lines are too long
1156
tests/memory/external/cassettes/test_crew_external_memory_search.yaml
vendored
Normal file
1156
tests/memory/external/cassettes/test_crew_external_memory_search.yaml
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user