feat: Add ability to add tags to agents (#1984)

This commit is contained in:
Matthew Zhou
2024-11-06 16:16:23 -08:00
committed by GitHub
parent 8414a94b96
commit 960f7421c1
14 changed files with 465 additions and 197 deletions

View File

@@ -23,6 +23,7 @@ class Organization(SqlalchemyBase):
users: Mapped[List["User"]] = relationship("User", back_populates="organization", cascade="all, delete-orphan")
tools: Mapped[List["Tool"]] = relationship("Tool", back_populates="organization", cascade="all, delete-orphan")
agents_tags: Mapped[List["AgentsTags"]] = relationship("AgentsTags", back_populates="organization", cascade="all, delete-orphan")
# TODO: Map these relationships later when we actually make these models
# below is just a suggestion