update_engineer_and_editorprompt

This commit is contained in:
黄伟韬 2024-09-05 16:48:46 +08:00
parent 5dcde29d73
commit c2f9f010b7
10 changed files with 251 additions and 219 deletions

View file

@ -96,7 +96,7 @@ class MGXEnv(Environment, SerializationMixin):
async def reply_to_human(self, content: str, sent_from: Role = None) -> str:
# NOTE: Can be overwritten in remote setting
return "SUCCESS, human has received your reply. Refrain from resending duplicate messages."
return "SUCCESS, human has received your reply. Refrain from resending duplicate messages. If you no longer need to take action, use the command end to stop."
def message_within_software_sop(self, message: Message) -> bool:
# Engineer, QaEngineer can be end of the SOP. Their msg requires routing outside.