Commit graph

1601 commits

Author SHA1 Message Date
mannaandpoem
76d4451fc6 merge main to dev 2024-01-22 13:50:21 +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
geekan
b89746b9c7 merge main 2024-01-19 16:02:09 +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
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
geekan
16ec0ccc4c
Merge pull request #771 from iorisa/feature/context
feat: replace CONTEXT with local context
2024-01-18 19:17:32 +08:00
mannaandpoem
6fb48664cb replace REQUIRED_PYTHON_PACKAGES.key to "Required Python packages" 2024-01-18 15:18:29 +08:00
zhanglei
002bc56c0e add: openai speech to text 2024-01-18 12:37:28 +08:00
mannaandpoem
2bc88cd71b update function of save code_guideline file 2024-01-18 10:15:36 +08:00
mannaandpoem
db086e47e7 modify: get value of ActionNode by key of ActionNode 2024-01-18 09:42:09 +08:00
莘权 马
d5ac56f863 feat: remove all unnecessary CONTEXT references
feat: replace CONTEXT with local context
2024-01-17 23:10:25 +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
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
geekan
420b10c5c3 readd logger to aask 2024-01-16 16:22:10 +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
莘权 马
aab27a7c4e Merge branch 'dev' of https://github.com/geekan/MetaGPT into geekan/dev 2024-01-16 09:59:15 +08:00
geekan
7005a1e86f fix pylint 2024-01-15 23:12:15 +08:00
better629
b800e57def fix format 2024-01-15 20:23:46 +08:00
better629
71067c894b
Merge branch 'geekan:dev' into dev 2024-01-15 20:18:52 +08:00
better629
6b52ee3e7c fix UserWarning: Pydantic serializer warning Expected str but got dict 2024-01-15 20:11:07 +08:00
geekan
c715b9c102 fix bug 2024-01-15 17:54:21 +08:00
geekan
20db85bfa6
Merge pull request #756 from Justin-ZL/dev
add:openai text to speech
2024-01-15 17:11:47 +08:00
geekan
357eb7ad23
Merge pull request #739 from better629/dev
update prompt of review/revise to meet gpt3.5
2024-01-15 17:08:38 +08:00
geekan
ab55303fa1 fix bug 2024-01-15 16:54:03 +08:00
geekan
4feea49b22 refine writeprd code 2024-01-15 16:41:51 +08:00
geekan
8baa6d094f refine writeprd code 2024-01-15 16:38:09 +08:00
better629
49e7d7eaea
Merge branch 'geekan:dev' into dev 2024-01-15 15:57:00 +08:00
better629
4ceff0ec29 add prompt_schema 2024-01-15 14:48:31 +08:00
zhanglei
cc92d8fb4a add:openai text to speech 2024-01-15 14:11:41 +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
shenchucheng
7c3ac6a350 fix test_scrape_web_page error 2024-01-15 13:20:13 +08:00
shenchucheng
9d1df5acd5 mock search engine api 2024-01-14 23:40:09 +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
莘权 马
b612393151 fixbug: pydantic validate 2024-01-13 13:48:47 +08:00
mannaandpoem
d077605720 Update product_requirement_pool to product_requirement_pools 2024-01-13 08:51:35 +08:00
mannaandpoem
b7adb1dc7d Update prompt and code comment in ActionNode 2024-01-12 22:12:16 +08:00