Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: remove unused param in agent instantiation (#938)
tombedorff692fe7ab60
diff --git a/memgpt/agent.py b/memgpt/agent.pyindex 24432080f..e4514449d 100644--- a/memgpt/agent.py+++ b/memgpt/agent.py@@ -172,7 +172,6 @@ class Agent(object):# extrasmessages_total: Optional[int] = None, # TODO remove?first_message_verify_mono: bool = True, # TODO move to config?- memgpt_config: Optional[MemGPTConfig] = None,):# Hold a copy of the state that was used to init the agentself.agent_state = agent_state@@ -224,15 +223,6 @@ class Agent(object):# When the summarizer is run, set this back to False (to reset)self.agent_alerted_about_memory_pressure = False- # Read local config if not provided- if not memgpt_config:- self.memgpt_config = MemGPTConfig()- else:- self.memgpt_config = memgpt_config-- # Initialize connection to metedata store- # self.ms = MetadataStore(self.memgpt_config)-self._messages: List[Message] = []# Once the memory object is initialized, use it to "bake" the system message