Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
Revert "fix: only parse user message" (#851)
Shubham Naik22c4c499a6c4
diff --git a/letta/system.py b/letta/system.pyindex 21c29c9eb..a13e36f1e 100644--- a/letta/system.py+++ b/letta/system.py@@ -224,7 +224,4 @@ def unpack_message(packed_message) -> str:warnings.warn(f"Was unable to find 'message' field in packed message object: '{packed_message}'")return packed_messageelse:- if "type" != "user_message":- warnings.warn(f"Expected 'type' to be 'user_message', but was '{message_json['type']}', so not unpacking: '{packed_message}'")- return packed_messagereturn message_json.get("message")