-
Notifications
You must be signed in to change notification settings - Fork 378
Description
Hi team,
when running the following cells, I am getting this error.
# Store initial memories to demonstrate retrieval
memory_agent.tool.mem0_memory(
action="store", content=f"The user's name is {USER_ID}.", user_id=USER_ID
)
memory_agent.tool.mem0_memory(
action="store",
content="I like to drink tea more than coffee.",
user_id=USER_ID
)
╭─────────────────────────────────────────── ❌ Memory Operation Error ───────────────────────────────────────────╮
│ cannot pickle '_thread.lock' object │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─────────────────────────────────────────── ❌ Memory Operation Error ───────────────────────────────────────────╮
│ cannot pickle '_thread.lock' object │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Opensearch serverless is deployed successfully, everything look fine. I am getting this error on SageMaker AI Studio. Note the same code in the notebook is working fine with Mem0 infrastructure but not opensearch serverless. Is it an issue with WSV4SignerAuth, RequestsHttpConnection that might cause pickle issue?