diff --git a/memgpt/agent.py b/memgpt/agent.py index dec8541638..19503e2624 100644 --- a/memgpt/agent.py +++ b/memgpt/agent.py @@ -970,7 +970,7 @@ async def summarize_messages_inplace(self, cutoff=None): message_sequence_to_summarize = self.messages[1:cutoff] # do NOT get rid of the system message printd(f"Attempting to summarize {len(message_sequence_to_summarize)} messages [1:{cutoff}] of {len(self.messages)}") - summary = await summarize_messages(self.model, message_sequence_to_summarize) + summary = await a_summarize_messages(self.model, message_sequence_to_summarize) printd(f"Got summary: {summary}") # Metadata that's useful for the agent to see