Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
feat: add fk reference for agent groups [LET-6260] (#6313)
cthomas6a47bf4946ca
diff --git a/letta/orm/agent.py b/letta/orm/agent.pyindex 83690c75a..744ffe43b 100644--- a/letta/orm/agent.py+++ b/letta/orm/agent.py@@ -164,6 +164,8 @@ class Agent(SqlalchemyBase, OrganizationMixin, ProjectMixin, TemplateEntityMixinlazy="selectin",viewonly=True,back_populates="manager_agent",+ foreign_keys="[Group.manager_agent_id]",+ uselist=False,)batch_items: Mapped[List["LLMBatchItem"]] = relationship("LLMBatchItem", back_populates="agent", lazy="raise")file_agents: Mapped[List["FileAgent"]] = relationship(