From ff692fe7ab6022bb073c6a8c2fb2ec2a555bdae3 Mon Sep 17 00:00:00 2001 From: tombedor Date: Mon, 29 Jan 2024 17:37:59 -0800 Subject: [PATCH] fix: remove unused param in agent instantiation (#938) --- memgpt/agent.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/memgpt/agent.py b/memgpt/agent.py index 24432080..e4514449 100644 --- a/memgpt/agent.py +++ b/memgpt/agent.py @@ -172,7 +172,6 @@ class Agent(object): # extras messages_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 agent self.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