Commit graph

582 commits

Author SHA1 Message Date
geekan
119bc0d89a
Merge pull request #809 from better629/feat_new_env
Feat env-refactor
2024-02-02 14:31:37 +08:00
shenchucheng
9b613eec59 remove global config in the search/browser engine 2024-02-01 16:47:29 +08:00
geekan
f3cb2cfbed Merge branch 'main' into dev 2024-02-01 13:25:05 +08:00
geekan
097128f022 refine docs 2024-02-01 11:14:34 +08:00
geekan
eb94c5f735
Merge pull request #785 from arnaudgelas/fix/prompt-logic
Fix prompt logic when defining to who the message should be sent.
2024-01-31 23:36:53 +08:00
geekan
a762e02000 update config usage 2024-01-31 23:13:38 +08:00
geekan
ad1edf6092 refine comments 2024-01-31 17:36:04 +08:00
better629
2d372a8863
Merge branch 'dev' into feat_new_env 2024-01-31 15:12:22 +08:00
geekan
41907b1fe3 add action graph, solver, search space. 2024-01-31 14:14:12 +08:00
better629
310687258e add gpt-4v support for aask and AN.fill 2024-01-30 11:59:53 +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
Arnaud Gelas
91c5c72089 Fix prompt logic when defining to who the message should be sent.
With the previous logic, it was possible to reach an undefined state
where it was not meant to be sent to Engineer, QaEngineer, nor NoOne.
2024-01-22 20:10:11 +01: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