feat: support for project_id and backfills
This commit is contained in:
@@ -6,7 +6,7 @@ from sqlalchemy.orm import Mapped, attributes, declared_attr, mapped_column, rel
|
||||
from letta.constants import CORE_MEMORY_BLOCK_CHAR_LIMIT
|
||||
from letta.orm.block_history import BlockHistory
|
||||
from letta.orm.blocks_agents import BlocksAgents
|
||||
from letta.orm.mixins import OrganizationMixin
|
||||
from letta.orm.mixins import OrganizationMixin, ProjectMixin
|
||||
from letta.orm.sqlalchemy_base import SqlalchemyBase
|
||||
from letta.schemas.block import Block as PydanticBlock
|
||||
from letta.schemas.block import Human, Persona
|
||||
@@ -16,7 +16,7 @@ if TYPE_CHECKING:
|
||||
from letta.orm.identity import Identity
|
||||
|
||||
|
||||
class Block(OrganizationMixin, SqlalchemyBase):
|
||||
class Block(OrganizationMixin, SqlalchemyBase, ProjectMixin):
|
||||
"""Blocks are sections of the LLM context, representing a specific part of the total Memory"""
|
||||
|
||||
__tablename__ = "block"
|
||||
|
||||
Reference in New Issue
Block a user