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.

initialize memgpt agent config with same name passed in (#211)

Vivian Fangc50c00132b58
diff --git a/memgpt/autogen/memgpt_agent.py b/memgpt/autogen/memgpt_agent.py
index 1bd18230a..4032ac7fa 100644
--- a/memgpt/autogen/memgpt_agent.py
+++ b/memgpt/autogen/memgpt_agent.py
@@ -114,6 +114,7 @@ def create_autogen_memgpt_agent(
persistence_manager = InMemoryStateManager(**persistence_manager_kwargs) if persistence_manager is None else persistence_manager
agent_config = AgentConfig(
+ name=autogen_name,
persona=persona_description,
human=user_description,
model=model,