mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-18 13:55:17 +02:00
feat: +common talk role
This commit is contained in:
parent
4fe3d6e879
commit
2c593bedea
13 changed files with 261 additions and 46 deletions
|
|
@ -67,6 +67,9 @@ class Message:
|
|||
intersection = set(tags) & self.tags
|
||||
return len(intersection) > 0
|
||||
|
||||
def is_contain(self, tag):
|
||||
return self.is_contain_tags([tag])
|
||||
|
||||
|
||||
@dataclass
|
||||
class UserMessage(Message):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue