Skip to content

Commit

Permalink
Fix 'dict' object has no attribute 'name' (letta-ai#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
ifsheldon authored and norton120 committed Feb 15, 2024
1 parent 53a1b51 commit 45b6be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memgpt/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def create_agent(
return self.server.create_agent(user_id=self.user_id, agent_config=agent_config, persistence_manager=persistence_manager)

if throw_if_exists:
raise ValueError(f"Agent {agent_config.name} already exists")
raise ValueError(f"Agent {agent_name} already exists")

return agent_name

Expand Down

0 comments on commit 45b6be0

Please sign in to comment.