feat(core): structure memory directory and block labels [LET-7336] (#9309)

This commit is contained in:
Sarah Wooders
2026-02-05 18:21:56 -08:00
committed by Caren Thomas
parent 3709be28dd
commit 21e880907f
11 changed files with 172 additions and 34 deletions

View File

@@ -92,9 +92,9 @@ class Block(OrganizationMixin, SqlalchemyBase, ProjectMixin, TemplateEntityMixin
def to_pydantic(self) -> Type:
match self.label:
case "human":
case "human" | "system/human":
Schema = Human
case "persona":
case "persona" | "system/persona":
Schema = Persona
case _:
Schema = PydanticBlock