Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: patch type error (#1506)
Charles Packer2ae5e9421fc3
diff --git a/memgpt/agent.py b/memgpt/agent.pyindex 1430f4fb0..658a5e331 100644--- a/memgpt/agent.py+++ b/memgpt/agent.py@@ -549,7 +549,7 @@ class Agent(object):return_dicts: bool = True, # if True, return dicts, if False, return Message objectsrecreate_message_timestamp: bool = True, # if True, when input is a Message type, recreated the 'created_at' fieldstream: bool = False, # TODO move to config?- timestamp: Optional[datetime] = None,+ timestamp: Optional[datetime.datetime] = None,) -> Tuple[List[Union[dict, Message]], bool, bool, bool]:"""Top-level event message handler for the MemGPT agent"""