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.

feat: remove identities selectin from blocks model (#3424)

cthomas69c341d56027
diff --git a/letta/orm/block.py b/letta/orm/block.py
index 994a04c4b..40dfcf085 100644
--- a/letta/orm/block.py
+++ b/letta/orm/block.py
@@ -67,7 +67,7 @@ class Block(OrganizationMixin, SqlalchemyBase):
identities: Mapped[List["Identity"]] = relationship(
"Identity",
secondary="identities_blocks",
- lazy="selectin",
+ lazy="raise",
back_populates="blocks",
passive_deletes=True,
)