From 2f037cbb00894e94af410bfd6f7bb10d5f901cc6 Mon Sep 17 00:00:00 2001 From: MORDECAI ETUKUDO <103220475+martcpp@users.noreply.github.com> Date: Tue, 8 Aug 2023 12:38:31 +0100 Subject: [PATCH] Translate chinese to english comment --- metagpt/manager.py | 2 ++ 1 file changed, 2 insertions(+) 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():