Commit graph

2301 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
geekan
b5922d4979
Merge pull request #497 from mannaandpoem/incremental_development
add increment development function
2024-01-20 23:00:26 +08:00
mannaandpoem
e1b783ca14 Merge branch 'main' into incremental_development
# Conflicts:
#	metagpt/schema.py
2024-01-19 19:53:17 +08:00
mannaandpoem
bed3040ff3 Merge remote-tracking branch 'origin/incremental_development' into incremental_development 2024-01-19 19:41:55 +08:00
mannaandpoem
4bb9c006c2 update test case of ActionNode 2024-01-19 19:41:38 +08:00
mannaandpoem
39c00848b9 update test case of ActionNode 2024-01-19 19:39:59 +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
geekan
5389c52556
Update README.md 2024-01-18 23:34:46 +08:00
geekan
1460cff729
Update README.md 2024-01-18 23:07:43 +08:00
geekan
1f7567e3c4
Update README.md 2024-01-18 22:58:56 +08:00
Sirui Hong
de0db068c2
Update README.md
update trending history
2024-01-18 20:07:45 +08:00
geekan
af018a84e5
Merge pull request #765 from arnaudgelas/fix/crash
In some cases when trying to create tests, metagpt crashes.
2024-01-18 19:22:56 +08:00
mannaandpoem
6fb48664cb replace REQUIRED_PYTHON_PACKAGES.key to "Required Python packages" 2024-01-18 15:18:29 +08:00
Sirui Hong
89f92ffb87
Update README.md 2024-01-18 14:14:26 +08:00
mannaandpoem
2bc88cd71b update function of save code_guideline file 2024-01-18 10:15:36 +08:00
mannaandpoem
fe64b23a0e update test file of ActionNode 2024-01-18 10:01:33 +08:00
mannaandpoem
db086e47e7 modify: get value of ActionNode by key of ActionNode 2024-01-18 09:42:09 +08:00
geekan
297c2c0a02
Merge pull request #770 from better629/main
update zhipu api
2024-01-17 22:56:59 +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
better629
4e13eaca6e update zhipu api due to new model and api; repair extra invalid generate output; update its unittest 2024-01-17 16:28:13 +08:00
Sirui Hong
bcd143d220
Update README.md
change paper link to arxiv
2024-01-17 13:48:44 +08:00
mannaandpoem
8831177a22 update test case in test_incremental_dev.py 2024-01-17 11:47:16 +08:00
mannaandpoem
6c954b8455 update context in write_code_review.py 2024-01-17 11:40:16 +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
Sirui Hong
75cbf9f087
Update README.md
update news
2024-01-17 01:52:01 +08:00
Sirui Hong
22c48449f4
Delete docs/resources/ICLR.jpg
delete img
2024-01-17 00:58:22 +08:00
Sirui Hong
6d5a4bf36a
Update README.md
remove img
2024-01-17 00:57:18 +08:00
Sirui Hong
51b3d11393
Update README.md
update news for paper (ICLR)
2024-01-17 00:22:31 +08:00
Sirui Hong
112b1da4a8
Update iclr img 2024-01-16 23:40:00 +08:00
mannaandpoem
e0839822c0 update test_incremental_dev.py 2024-01-16 18:53:30 +08:00
geekan
b48a001d14
Update ROADMAP.md 2024-01-16 17:57:38 +08: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
geekan
bdf9d224b5
Merge pull request #743 from arnaudgelas/fix/qa_engineer_language
Constrain the language for the qa_engineer
2024-01-15 13:31:53 +08:00
geekan
6420481c70
Merge pull request #744 from arnaudgelas/fix/requirements
Fix: requirements.txt was not written to the disk
2024-01-15 13:31:26 +08:00
geekan
d1166e97b2
Merge pull request #745 from arnaudgelas/fix/investment
Even if you set an investment, the default investment shows in the log
2024-01-15 13:29:58 +08:00
Arnaud Gelas
34b3de1f86 When setting the max budget, I don't want to overcome this limit 2024-01-13 16:10:46 +01:00
Arnaud Gelas
d340738013 Even if you set an investment, the default investment shows in the log 2024-01-13 15:53:01 +01:00
Arnaud Gelas
1238c48451 Fix: requirements.txt was not written to the disk
While the Python packages requirements are correctly detected and saved
into the json task file, requirements.txt was always empty. Since it was
trying to get packages with the wrong key, packages were always empty
when writing in requirements.txt
2024-01-13 15:14:38 +01: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
f460771978 Update test cases 2024-01-13 10:58:49 +08:00
mannaandpoem
46a64873cc Merge remote-tracking branch 'origin/incremental_development' into incremental_development 2024-01-13 10:16:44 +08:00
mannaandpoem
1b29175116 Add 2 code example and modify 1 code example to data 2024-01-13 10:02:54 +08:00
mannaandpoem
28c7003416 Add 2 code example to data 2024-01-13 09:40:02 +08:00