mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
Update Mem0Storage to support v2 API with run_id parameter
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -195,7 +195,7 @@ def test_save_method_with_memory_client(mem0_storage_with_memory_client_using_co
|
||||
agent_id="Test_Agent",
|
||||
infer=False,
|
||||
metadata={"type": "short_term", "key": "value"},
|
||||
output_format="v1.1"
|
||||
version="v2"
|
||||
)
|
||||
|
||||
|
||||
@@ -232,7 +232,7 @@ def test_search_method_with_memory_client(mem0_storage_with_memory_client_using_
|
||||
agent_id="Test_Agent",
|
||||
metadata={"type": "short_term"},
|
||||
user_id="test_user",
|
||||
output_format='v1.1'
|
||||
version='v2'
|
||||
)
|
||||
|
||||
assert len(results) == 1
|
||||
|
||||
Reference in New Issue
Block a user