Commit graph

506 commits

Author SHA1 Message Date
huzixia
11f70ca9b1 modify code based on feedback of action_node.py and repair_llm_raw_output.py, add code in test_repair_llm_raw_output.py 2024-01-27 18:06:52 +08: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
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
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
fe64b23a0e update test file of ActionNode 2024-01-18 10:01:33 +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
mannaandpoem
8831177a22 update test case in test_incremental_dev.py 2024-01-17 11:47:16 +08:00
mannaandpoem
e0839822c0 update test_incremental_dev.py 2024-01-16 18:53:30 +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
mannaandpoem
f460771978 Update test cases 2024-01-13 10:58:49 +08:00
mannaandpoem
b7adb1dc7d Update prompt and code comment in ActionNode 2024-01-12 22:12:16 +08:00
mannaandpoem
a9e0b67b71 update test_incremental_dev.py 2024-01-10 14:13:48 +08:00
better629
17479a2360 fix system_prompt param that llm not support from issue 725 2024-01-10 11:26:23 +08:00
garylin2099
16e3f94b44
Merge pull request #717 from kkdev163/fixbug/role_init_human_provider
fixbug: role init with is_human=True was not work
2024-01-09 12:43:26 +08:00
kkdev163
82a5eec727 fix(test_role): format error 2024-01-09 12:01:57 +08:00
mannaandpoem
7a5485bc8b Revert changes to file conftest.py 2024-01-09 10:49:10 +08:00
莘权 马
360f5dcd1b refactor: unit test 2024-01-08 18:02:24 +08:00
kkdev163
6cde039f7f fixbug: role init with is_human=True was not work 2024-01-08 17:45:44 +08:00
geekan
1bce979073
Merge pull request #710 from garylin2099/llm_mock
Fixed two failures and one errors of unittests
2024-01-08 16:15:52 +08:00
yzlin
033dc6bd7d add expected rsp and skip unimportant 2024-01-08 15:33:41 +08:00
莘权 马
fd11f46587 fixbug: unit test 2024-01-08 15:19:16 +08:00
yzlin
160d523389 fix mock issue 2024-01-08 14:03:31 +08:00
geekan
d4d4a1639a
Merge pull request #694 from garylin2099/llm_mock
enforce mock on online test
2024-01-08 10:18:59 +08:00
geekan
aacb55cc66
Merge pull request #696 from shenchucheng/fix-selenium-ut-error
fix selenium test_scrape_web_page proxy error
2024-01-07 17:51:49 +08:00
shenchucheng
7a0463e6f6 fix selenium test_scrape_web_page proxy error 2024-01-07 15:43:06 +08:00
yzlin
8fb5919181 enforce mock on online test 2024-01-05 20:38:07 +08:00
莘权 马
44d8d2f222 feat: fix bug 2024-01-05 19:31:03 +08:00
莘权 马
faaf6daa6b Merge branch 'main' of https://github.com/geekan/MetaGPT into geekan/main 2024-01-05 19:19:46 +08:00
莘权 马
8a9c9de4f2 fixbug: unit test 2024-01-05 19:19:23 +08:00
voidking
f7d04d7f81 pr trigger unittest, maintainer approve the unittest 2024-01-05 17:39:13 +08:00
mannaandpoem
8851147df7 Update test_incremental_dev.py 2024-01-05 17:24:43 +08:00
geekan
230192f5e0
Merge pull request #685 from garylin2099/llm_mock
Reduce test time with a global LLM mock
2024-01-05 17:11:25 +08:00
mannaandpoem
86b9d11f24 1. Update test_incremental_dev.py and data files example 2024-01-05 17:03:24 +08:00
yzlin
bd4a35fd94 rm sd, fix qdrant 2024-01-05 16:43:41 +08:00
shenchucheng
fba730390c fix test_scrape_web_page proxy error 2024-01-05 16:42:57 +08:00
yzlin
a3dc6aa7e3 Merge branch 'main' into llm_mock 2024-01-05 15:28:03 +08:00
yzlin
63081245b9 add explanation 2024-01-05 14:46:59 +08:00
yzlin
1249d12b6f add openai api call switch; fix ocr 2024-01-05 14:34:44 +08:00
莘权 马
c966138a74 feat: +unit test
fixbug: Align to the same root directory in accordance with `class_views`

fixbug: The class has lost namespace information.

feat: + mock

fixbug: project name invalid

feat: +mermaid sequence diagram

feat: translate from code to mermaid sequence

feat: translate from code to mermaid sequence
2024-01-05 10:25:20 +08:00
yzlin
ab04f610a3 rm redundant 2024-01-04 20:58:44 +08:00
yzlin
106543b3ca mock writeprd new filename, improve cache usefulness 2024-01-04 20:45:38 +08:00
mannaandpoem
4d7575bece Merge remote-tracking branch 'origin/incremental_development' into incremental_development
# Conflicts:
#	tests/metagpt/test_incremental_dev.py
2024-01-04 18:56:35 +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
97ee2a0a61 1. Added 4 compressed package of code examples
2. Update test_incremental_dev.py and engineer.py
2024-01-04 17:58:55 +08:00
yzlin
271ecc30a2 Merge branch 'main' into llm_mock 2024-01-04 17:19:09 +08:00
yzlin
18ffd92333 mv mockllm 2024-01-04 16:58:11 +08:00
yzlin
d11f7cbef6 rm redundant llm_mock fixture use 2024-01-04 15:33:06 +08:00