fix: remove unused param in agent instantiation (#938)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user