Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
return default_auto_reply instead of None
Vivian Fangd38399ce7f06
diff --git a/memgpt/autogen/memgpt_agent.py b/memgpt/autogen/memgpt_agent.pyindex 78502c1e1..6d25ebfab 100644--- a/memgpt/autogen/memgpt_agent.py+++ b/memgpt/autogen/memgpt_agent.py@@ -147,7 +147,7 @@ class MemGPTAgent(ConversableAgent):elif len(new_messages) == 1:user_message = new_messages[0]else:- return True, None+ return True, self._default_auto_reply# Package the user messageuser_message = system.package_user_message(user_message)