Add created_at and updated_at fields to Entity dataclass

This commit is contained in:
OpenClaw Bot
2026-02-20 00:18:49 +08:00
parent 43a86e2ed6
commit 1833163a95

View File

@@ -34,6 +34,8 @@ class Entity:
aliases: List[str] = None aliases: List[str] = None
embedding: str = "" # Phase 3: 实体嵌入向量 embedding: str = "" # Phase 3: 实体嵌入向量
attributes: Dict = None # Phase 5: 实体属性 attributes: Dict = None # Phase 5: 实体属性
created_at: str = ""
updated_at: str = ""
def __post_init__(self): def __post_init__(self):
if self.aliases is None: if self.aliases is None: