Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

feat: +cache

莘权 马ec8e455a59ff
diff --git a/metagpt/schema.py b/metagpt/schema.py
index 987fccef2..8f8e4030f 100644
--- a/metagpt/schema.py
+++ b/metagpt/schema.py
@@ -37,6 +37,7 @@ class Message:
sent_from: str = field(default="")
send_to: str = field(default="")
tags: Optional[Set] = field(default=None)
+ id: str = None
def __str__(self):
# prefix = '-'.join([self.role, str(self.cause_by)])