feat: add hidden property to group and blocks [PRO-1145] (#4415)

* feat: add hidden property to group and blocks

* feat: add hidden property to group and blocks

* chore: bup

* chore: add hidden property

* chore: next

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
This commit is contained in:
Shubham Naik
2025-09-04 10:53:16 -07:00
committed by GitHub
parent a65400af84
commit eb21668f35
9 changed files with 140 additions and 11 deletions

View File

@@ -41,6 +41,7 @@ class Block(OrganizationMixin, SqlalchemyBase, ProjectMixin, TemplateEntityMixin
# permissions of the agent
read_only: Mapped[bool] = mapped_column(doc="whether the agent has read-only access to the block", default=False)
hidden: Mapped[Optional[bool]] = mapped_column(nullable=True, doc="If set to True, the block will be hidden.")
# history pointers / locking mechanisms
current_history_entry_id: Mapped[Optional[str]] = mapped_column(