Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

patch bug (#221)

Charles Packer4e440404ff08
diff --git a/memgpt/main.py b/memgpt/main.py
index 15197ce18..ecbc0ed08 100644
--- a/memgpt/main.py
+++ b/memgpt/main.py
@@ -229,7 +229,7 @@ async def main(
memgpt_persona = persona
if memgpt_persona is None:
memgpt_persona = (
- personas.GPT35_DEFAULT if "gpt-3.5" in model else personas.DEFAULT_PRESET,
+ personas.GPT35_DEFAULT if "gpt-3.5" in model else personas.DEFAULT,
None, # represents the personas dir in pymemgpt package
)
else:
diff --git a/tests/test_load_archival.py b/tests/test_load_archival.py
index ba89989d8..787bbee90 100644
--- a/tests/test_load_archival.py
+++ b/tests/test_load_archival.py
@@ -100,7 +100,7 @@ def test_load_database():
# create agents with defaults
agent_config = AgentConfig(
- persona=personas.DEFAULT_PRESET,
+ persona=personas.DEFAULT,
human=humans.DEFAULT,
model=DEFAULT_MEMGPT_MODEL,
data_source="tmp_hf_dataset",