Mem0 API only accepts user and assistant roles. Filter out system, developer, and other roles before calling add() to avoid 400 errors.
Mem0 API only accepts user and assistant roles. Filter out system, developer, and other roles before calling add() to avoid 400 errors.