From a2a1a0400ed29822d35de6422e9d0e019a903c72 Mon Sep 17 00:00:00 2001 From: tractorjuice <129532814+tractorjuice@users.noreply.github.com> Date: Mon, 30 Oct 2023 04:46:23 +0000 Subject: [PATCH] Update agent.py (#185) Fix missing bracket in construct_system_with_memory --- memgpt/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memgpt/agent.py b/memgpt/agent.py index dec8541638..4ff3396b22 100644 --- a/memgpt/agent.py +++ b/memgpt/agent.py @@ -40,7 +40,7 @@ def construct_system_with_memory(system, memory, memory_edit_timestamp, archival [ system, "\n", - f"### Memory [last modified: {memory_edit_timestamp}", + f"### Memory [last modified: {memory_edit_timestamp}]", f"{len(recall_memory) if recall_memory else 0} previous messages between you and the user are stored in recall memory (use functions to access them)", f"{len(archival_memory) if archival_memory else 0} total memories you created are stored in archival memory (use functions to access them)", "\nCore memory shown below (limited in size, additional information stored in archival / recall memory):",