Skip to content

Commit

Permalink
Update agent.py (#185)
Browse files Browse the repository at this point in the history
Fix missing bracket in construct_system_with_memory
  • Loading branch information
tractorjuice authored Oct 30, 2023
1 parent 20d4ad2 commit a2a1a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memgpt/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):",
Expand Down

0 comments on commit a2a1a04

Please sign in to comment.