feat: remove batch items selectin from agents model (#3422)
This commit is contained in:
@@ -138,7 +138,7 @@ class Agent(SqlalchemyBase, OrganizationMixin, AsyncAttrs):
|
||||
viewonly=True,
|
||||
back_populates="manager_agent",
|
||||
)
|
||||
batch_items: Mapped[List["LLMBatchItem"]] = relationship("LLMBatchItem", back_populates="agent", lazy="selectin")
|
||||
batch_items: Mapped[List["LLMBatchItem"]] = relationship("LLMBatchItem", back_populates="agent", lazy="raise")
|
||||
file_agents: Mapped[List["FileAgent"]] = relationship(
|
||||
"FileAgent",
|
||||
back_populates="agent",
|
||||
|
||||
@@ -135,4 +135,5 @@ class MarshmallowAgentSchema(BaseSchema):
|
||||
"identities",
|
||||
"is_deleted",
|
||||
"groups",
|
||||
"batch_items",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user