Commit graph

573 commits

Author SHA1 Message Date
geekan
ad1edf6092 refine comments 2024-01-31 17:36:04 +08:00
geekan
41907b1fe3 add action graph, solver, search space. 2024-01-31 14:14:12 +08:00
geekan
aada81bfe6 fix conflicts 2024-01-26 19:06:41 +08:00
geekan
a6bdd02017 add ActionNode.from_pydantic 2024-01-26 19:05:22 +08:00
geekan
d4ae2a839e
Merge pull request #797 from iorisa/feature/compatible_windows
fixbug: compatible with windows path
2024-01-26 15:11:34 +08:00
mannaandpoem
1f90bc58cc 1. Update the code compression package
2. Modify the prompt of REFINED_TEMPLATE
2024-01-25 16:25:23 +08:00
莘权 马
51169d7a69 feat: + compatible with windows path 2024-01-25 15:40:16 +08:00
mannaandpoem
431e53617e changed tasks to task 2024-01-24 18:16:47 +08:00
mannaandpoem
7e328e5431 changed {tasks} to {task} in PROMPT_TEMPLATE 2024-01-24 18:05:26 +08:00
mannaandpoem
02b4608f84 changed {tasks} to {task} in PROMPT_TEMPLATE 2024-01-24 18:04:26 +08:00
mannaandpoem
5af94ae133 update comment in get_codes function 2024-01-24 17:51:17 +08:00
mannaandpoem
92384d77dd update comment in get_codes function 2024-01-24 17:40:12 +08:00
mannaandpoem
3450c240c9 remove mode of get_codes function 2024-01-24 16:44:10 +08:00
mannaandpoem
e42dc522c2 Fix bug in WriteCode 2024-01-24 10:59:32 +08:00
mannaandpoem
62c128602f 1. update bug of getting requirement_doc
2. modify prompt
2024-01-24 09:51:18 +08:00
mannaandpoem
0e4197395d 1. update CodePlanAndChangeContext in schema.py
2. add 'await' word in _update_prd function of write_prd.py
2024-01-23 21:35:36 +08:00
mannaandpoem
32f9fbb46b Merge branch 'dev' into dev_incremental 2024-01-23 09:39:43 +08:00
geekan
452f6e2c38 fix bugs 2024-01-22 18:52:55 +08:00
Arnaud Gelas
6a9bd4a391 Do not try installing requirements if there are none
Do not try running pip install -r requirements.txt if the file does not
exist or is empty. It avoids seeing an error in the log.
2024-01-22 08:02:53 +01:00
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
geekan
b89746b9c7 merge main 2024-01-19 16:02:09 +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
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
6fb48664cb replace REQUIRED_PYTHON_PACKAGES.key to "Required Python packages" 2024-01-18 15:18:29 +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
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
better629
b800e57def fix format 2024-01-15 20:23:46 +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
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
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
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
莘权 马
273b85d609 feat: remove OPTIONS 2024-01-12 21:56:59 +08:00
mannaandpoem
684d10bb24 1. Remove PRD when write code 2024-01-12 20:38:23 +08:00
better629
a249e46259 update prompt of review/revise to meet gpt3.5 2024-01-12 18:56:42 +08:00
geekan
31eb3fe0ee refine code 2024-01-12 17:55:01 +08:00
莘权 马
b858cc7d83 feat: remove Context.options 2024-01-12 17:43:14 +08:00