Commit graph

417 commits

Author SHA1 Message Date
Arnaud Gelas
b4e09341b3 Stop generating unit test for non python files
When trying to create a simple HelloWorld with test, metagpt creates
test for README.md
2024-01-22 07:57:42 +01:00
mannaandpoem
e1b783ca14 Merge branch 'main' into incremental_development
# Conflicts:
#	metagpt/schema.py
2024-01-19 19:53:17 +08:00
mannaandpoem
4bb9c006c2 update test case of ActionNode 2024-01-19 19:41:38 +08:00
mannaandpoem
12b9f51abf update _watch in engineer.py 2024-01-19 16:00:59 +08:00
mannaandpoem
134791ca35 1. update mode from "guide" to "incremental" in get_codes function of write_code.py
2. update _new_code_plan_and_change_action function
2024-01-19 15:18:54 +08:00
mannaandpoem
69ad2f4147 update mode from "guide" to "incremental" in get_codes function of write_code.py 2024-01-19 14:53:19 +08:00
mannaandpoem
81b59bfe0d update CodePlanAndChangeContext 2024-01-19 14:44:06 +08:00
mannaandpoem
1959743d0b update write_code_plan_and_change_an.py and add it to _think and _act process 2024-01-19 13:36:38 +08:00
mannaandpoem
95ccd980f8 1. rename and modify plan to code plan and change
2. modify name of ActionNode instance
2024-01-19 11:26:58 +08:00
mannaandpoem
42565c39e3 1. rename and modify guideline to plan
2. update prompt in ActionNode
3. add code comment
4. refactor Guideline code structure
2024-01-19 10:15:18 +08:00
mannaandpoem
5190dc4462 1. rename and modify guideline to plan
2. update prompt in ActionNode
3. add code comment
4. refactor Guideline code structure
2024-01-19 09:03:24 +08:00
mannaandpoem
2bc88cd71b update function of save code_guideline file 2024-01-18 10:15:36 +08:00
mannaandpoem
a6d56bd748 1. add mock.py in tests\data\incremental_dev_project
2. add mock for test case of ActionNode
3. add path of Guideline file in const.py
4. update engineer.py
2024-01-17 18:47:59 +08:00
Arnaud Gelas
03012a81fd In some cases when trying to create tests, metagpt crashes.
Adding some more safeguard to handle the case where code_doc is None.
2024-01-16 21:44:45 +01:00
mannaandpoem
f4e39a462c 1. remove INC prompt in some ActionNode
2. replace Code archive from data to tests/data/incremental_dev_project
3. update test case for ActionNode
2024-01-16 15:42:48 +08:00
Arnaud Gelas
8d1bc25def Constrain the language for the qa_engineer
The qa_engineer was generating chinese texts and comments while the rest
of the project was in English.
2024-01-13 14:49:50 +01:00
mannaandpoem
d077605720 Update product_requirement_pool to product_requirement_pools 2024-01-13 08:51:35 +08:00
mannaandpoem
684d10bb24 1. Remove PRD when write code 2024-01-12 20:38:23 +08:00
mannaandpoem
a363691c38 1. add guideline in context of write_code_review.py
2. update prompt
2024-01-12 17:33:15 +08:00
mannaandpoem
3848596b0f update prompt 2024-01-11 14:04:44 +08:00
kkdev163
bd2b1950eb optimize: access to is_human 2024-01-08 22:29:17 +08:00
kkdev163
6cde039f7f fixbug: role init with is_human=True was not work 2024-01-08 17:45:44 +08:00
莘权 马
af378e12ac fixbug: an unexpected UserRequirement type message is thrown when there is nothing to do. 2024-01-06 23:39:41 +08:00
mannaandpoem
40db41cda5 1. Added 4 compressed package of code examples
2. Update test_incremental_dev.py and engineer.py
2024-01-04 18:43:58 +08:00
mannaandpoem
e3cd1a2cc1 Update prompt and fix up some bug 2024-01-04 10:41:36 +08:00
mannaandpoem
0168c99323 Replace self._rc to self.rc in engineer.py 2024-01-03 23:15:43 +08:00
mannaandpoem
24e617b362 Merge main branch 2024-01-03 19:48:46 +08:00
mannaandpoem
a24bfdc6c7 Modify style and format 2024-01-02 23:06:27 +08:00
geekan
5649fac62d fix pylint warnings 2024-01-02 18:14:03 +08:00
莘权 马
2f3e4c7f15 feat: +unit test 2024-01-02 11:59:03 +08:00
mannaandpoem
6743a4f3b1 update prompt 2023-12-31 12:56:15 +08:00
莘权 马
681068edc9 feat: +unit test 2023-12-29 21:37:42 +08:00
mannaandpoem
db22ed214f Modify prompt in write_code_guide_an.py and write_code.py 2023-12-29 13:55:30 +08:00
better629
2243ea0462 add extra role/actions' ser&desr unittest 2023-12-29 13:05:58 +08:00
better629
3c07bf5622 Merge branch 'dev' of github.com:better629/MetaGPT into dev 2023-12-29 04:28:21 +08:00
better629
311e48b604 fix debate with send_to 2023-12-29 04:26:50 +08:00
geekan
6707e9f1b9 Merge branch 'main' into dev 2023-12-28 17:27:10 +08:00
geekan
36a71e15be
Merge pull request #641 from better629/dev
Feat update to pydantic2
2023-12-28 17:08:28 +08:00
better629
d40c4f5025 change mixin name 2023-12-28 16:43:08 +08:00
better629
e7c7c88c47 update to pydantic v2 and fix conflicts 2023-12-28 16:36:17 +08:00
better629
d0edc555b0 add SerDeserMixin for child-classes 2023-12-28 16:07:39 +08:00
geekan
58c8a38fc3 solve test startup.py 2023-12-28 15:46:17 +08:00
mannaandpoem
1ee35c930e Delete and modify some files 2023-12-27 15:08:01 +08:00
better629
7d523b3922 fix role add actions 2023-12-27 15:03:34 +08:00
mannaandpoem
2cb06a7888 Merge branch 'main' into incremental_development 2023-12-27 14:44:35 +08:00
better629
83dbf97819 update SKAgent due pydantic v2 and fix missing field type 2023-12-27 14:33:55 +08:00
better629
afaa7385c4 add pydantic v2 support and change role's private fields into public 2023-12-27 14:00:54 +08:00
mannaandpoem
d47cc0448f Update engineer.py and prompt in write_code_guide_an.py. 2023-12-27 12:20:15 +08:00
geekan
d244c648ca
Merge pull request #633 from Stitch-z/update-unit-test
Update: improve the unit testing of technical tutorial assistants and OCR assistants.
2023-12-26 22:19:16 +08:00
mannaandpoem
a15e88f963 Update increment development for 0.5.x version: Delete files with 'refine' and write_code_guide.py. Add write_code_guide_an.py. Update write_code.py for guiding write code. 2023-12-26 21:36:37 +08:00