fix: agent-runs relationship load causing timeouts [LET-6694] (#8129)

fix: agent-runs relationship load causing timeouts
This commit is contained in:
cthomas
2025-12-29 11:47:58 -08:00
committed by Caren Thomas
parent b08e55c0ee
commit b6535b7590

View File

@@ -147,7 +147,7 @@ class Agent(SqlalchemyBase, OrganizationMixin, ProjectMixin, TemplateEntityMixin
"Run",
back_populates="agent",
cascade="all, delete-orphan",
lazy="selectin",
lazy="raise",
doc="Runs associated with the agent.",
)
identities: Mapped[List["Identity"]] = relationship(