mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-02 14:45:17 +02:00
refactor: update notations
This commit is contained in:
parent
55fe826b06
commit
78f3f128c0
8 changed files with 17 additions and 7 deletions
|
|
@ -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, WriteTasks
|
||||
from metagpt.schema import Message
|
||||
|
|
|
|||
|
|
@ -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 pytest
|
||||
|
||||
|
|
|
|||
|
|
@ -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 pytest
|
||||
|
||||
|
|
|
|||
|
|
@ -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 pytest
|
||||
|
|
|
|||
|
|
@ -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 pytest
|
||||
|
||||
|
|
|
|||
|
|
@ -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 pytest
|
||||
from pydantic import BaseModel
|
||||
|
|
|
|||
|
|
@ -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 json
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue