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.

handle none value for properties [LET-5537] (#5449)

Ari Webb714978f5eeeb
diff --git a/letta/orm/identity.py b/letta/orm/identity.py
index 75a905252..bf172d143 100644
--- a/letta/orm/identity.py
+++ b/letta/orm/identity.py
@@ -64,6 +64,6 @@ class Identity(SqlalchemyBase, OrganizationMixin, ProjectMixin):
"agent_ids": self.agent_ids,
"block_ids": self.block_ids,
"organization_id": self.organization_id,
- "properties": self.properties,
+ "properties": self.properties or [],
}
return PydanticIdentity(**state)