diff --git a/letta/orm/block.py b/letta/orm/block.py index 994a04c4..40dfcf08 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, )