mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-30 03:16:23 +02:00
修改role_zero指令循环问题
This commit is contained in:
parent
56efc6d155
commit
838892e17d
3 changed files with 2 additions and 8 deletions
|
|
@ -91,7 +91,7 @@ class MGXEnv(Environment):
|
|||
|
||||
async def reply_to_human(self, content: str, sent_from: Role = None) -> str:
|
||||
# NOTE: Can be overwritten in remote setting
|
||||
return "Message send successfully."
|
||||
return "The monitor has verified the message, confirmation acknowledged. Refrain from resending duplicate messages."
|
||||
|
||||
def message_within_software_sop(self, message: Message) -> bool:
|
||||
# Engineer, QaEngineer can be end of the SOP. Their msg requires routing outside.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue