mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-28 02:23:52 +02:00
feat: merge huggingface
This commit is contained in:
parent
4582f65cf8
commit
379b7b5820
9 changed files with 73 additions and 45 deletions
|
|
@ -49,7 +49,7 @@ class Environment(BaseModel):
|
|||
for role in roles:
|
||||
self.add_role(role)
|
||||
|
||||
def publish_message(self, message: Message) -> bool:
|
||||
def publish_message(self, message: Message, peekable: bool = True) -> bool:
|
||||
"""
|
||||
Distribute the message to the recipients.
|
||||
In accordance with the Message routing structure design in Chapter 2.2.1 of RFC 116, as already planned
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue