chore: add deprecation notices to UserMemory (#3201)

- Mark UserMemory and UserMemoryItem for removal in v0.156.0 or 2025-08-04
- Update all references with deprecation warnings
- Users should migrate to ExternalMemory
This commit is contained in:
Greyson LaLonde
2025-07-21 15:26:34 -04:00
committed by GitHub
parent 3c55c8a22a
commit 2ab6c31544
5 changed files with 15 additions and 4 deletions

View File

@@ -712,7 +712,7 @@ crew = Crew(
memory_config={
"provider": "mem0",
"config": {"user_id": "john"},
"user_memory": {} # Required - triggers user memory initialization
"user_memory": {} # DEPRECATED: Will be removed in version 0.156.0 or on 2025-08-04, use external_memory instead
},
process=Process.sequential,
verbose=True