🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
refactor: update notations
莘权 马78f3f128c046
diff --git a/tests/metagpt/roles/mock.py b/tests/metagpt/roles/mock.pyindex b9891cd81..e67d64abc 100644--- a/tests/metagpt/roles/mock.py+++ b/tests/metagpt/roles/mock.py@@ -4,7 +4,8 @@@Time : 2023/5/12 13:05@Author : alexanderwu@File : mock.py-@Modified By: mashenquan, 2023-11-1. Standardize the usage of message filtering-related features.+@Modified By: mashenquan, 2023-11-1. According to Chapter 2.2.1 and 2.2.2 of RFC 116, change the data type of+ the `cause_by` value in the `Message` to a string to support the new message distribution feature."""from metagpt.actions import BossRequirement, WriteDesign, WritePRD, WriteTasksfrom metagpt.schema import Messagediff --git a/tests/metagpt/roles/test_architect.py b/tests/metagpt/roles/test_architect.pyindex 665242379..4effadaaa 100644--- a/tests/metagpt/roles/test_architect.py+++ b/tests/metagpt/roles/test_architect.py@@ -4,7 +4,9 @@@Time : 2023/5/20 14:37@Author : alexanderwu@File : test_architect.py-@Modified By: mashenquan, 2023-11-1. Standardize the usage of message transmission.+@Modified By: mashenquan, 2023-11-1. In accordance with Chapter 2.2.1 and 2.2.2 of RFC 116, modify the data+ type of the `cause_by` value in the `Message` to a string, and utilize the new message distribution+ feature for message handling."""import pytestdiff --git a/tests/metagpt/roles/test_engineer.py b/tests/metagpt/roles/test_engineer.pyindex 93c3132ac..93f2efb77 100644--- a/tests/metagpt/roles/test_engineer.py+++ b/tests/metagpt/roles/test_engineer.py@@ -4,7 +4,9 @@@Time : 2023/5/12 10:14@Author : alexanderwu@File : test_engineer.py-@Modified By: mashenquan, 2023-11-1. Standardize the usage of message transmission.+@Modified By: mashenquan, 2023-11-1. In accordance with Chapter 2.2.1 and 2.2.2 of RFC 116, modify the data+ type of the `cause_by` value in the `Message` to a string, and utilize the new message distribution+ feature for message handling."""import pytestdiff --git a/tests/metagpt/test_environment.py b/tests/metagpt/test_environment.pyindex 755798b17..714618852 100644--- a/tests/metagpt/test_environment.py+++ b/tests/metagpt/test_environment.py@@ -4,7 +4,8 @@@Time : 2023/5/12 00:47@Author : alexanderwu@File : test_environment.py-@Modified By: mashenquan, 2023-11-1. Standardize the usage of message transmission.+@Modified By: mashenquan, 2023-11-1. According to Chapter 2.2.1 and 2.2.2 of RFC 116, change the data type of+ the `cause_by` value in the `Message` to a string to support the new message distribution feature."""import pytestdiff --git a/tests/metagpt/test_message.py b/tests/metagpt/test_message.pyindex 4f46311ce..04d85d9e4 100644--- a/tests/metagpt/test_message.py+++ b/tests/metagpt/test_message.py@@ -4,6 +4,7 @@@Time : 2023/5/16 10:57@Author : alexanderwu@File : test_message.py+@Modified By: mashenquan, 2023-11-1. Modify coding style."""import pytestdiff --git a/tests/metagpt/test_role.py b/tests/metagpt/test_role.pyindex 98646041d..f0ef4b3d9 100644--- a/tests/metagpt/test_role.py+++ b/tests/metagpt/test_role.py@@ -4,7 +4,8 @@@Time : 2023/5/11 14:44@Author : alexanderwu@File : test_role.py-@Modified By: mashenquan, 2023/11/1. Add unit tests.+@Modified By: mashenquan, 2023-11-1. In line with Chapter 2.2.1 and 2.2.2 of RFC 116, introduce unit tests for+ the utilization of the new message distribution feature in message handling."""import pytestfrom pydantic import BaseModeldiff --git a/tests/metagpt/test_schema.py b/tests/metagpt/test_schema.pyindex 06bb57a70..2fa76fcad 100644--- a/tests/metagpt/test_schema.py+++ b/tests/metagpt/test_schema.py@@ -4,7 +4,8 @@@Time : 2023/5/20 10:40@Author : alexanderwu@File : test_schema.py-@Modified By: mashenquan, 2023-11-1. Add `test_message`.+@Modified By: mashenquan, 2023-11-1. In line with Chapter 2.2.1 and 2.2.2 of RFC 116, introduce unit tests for+ the utilization of the new feature of `Message` class."""import jsondiff --git a/tests/metagpt/utils/test_serialize.py b/tests/metagpt/utils/test_serialize.pyindex 5a0840c87..7889f96fe 100644--- a/tests/metagpt/utils/test_serialize.py+++ b/tests/metagpt/utils/test_serialize.py@@ -2,7 +2,8 @@# -*- coding: utf-8 -*-"""@Desc : the unittest of serialize-@Modified By: mashenquan, 2023-11-1. Standardize the usage of message filtering-related features.+@Modified By: mashenquan, 2023-11-1. According to Chapter 2.2.1 and 2.2.2 of RFC 116, change the data type of+ the `cause_by` value in the `Message` to a string to support the new message distribution feature."""from typing import List, Tuple