Skip to content

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

Translate chinese to english comment

MORDECAI ETUKUDO2f037cbb0089
diff --git a/metagpt/manager.py b/metagpt/manager.py
index 3cb445108..9d238c621 100644
--- a/metagpt/manager.py
+++ b/metagpt/manager.py
@@ -33,6 +33,7 @@ class Manager:
async def handle(self, message: Message, environment):
"""
管理员处理信息,现在简单的将信息递交给下一个人
+ The administrator processes the information, now simply passes the information on to the next person
:param message:
:param environment:
:return:
@@ -50,6 +51,7 @@ class Manager:
# chosen_role_name = self.llm.ask(self.prompt_template.format(context))
# FIXME: 现在通过简单的字典决定流向,但之后还是应该有思考过程
+ #The direction of flow is now determined by a simple dictionary, but there should still be a thought process afterwards
next_role_profile = self.role_directions[message.role]
# logger.debug(f"{next_role_profile}")
for _, role in roles.items():