Commit graph

728 commits

Author SHA1 Message Date
yzlin
2fcb2a1cfe Merge branch 'dev' into code_intepreter 2024-01-31 00:08:09 +08:00
yzlin
ede04f20f6 fix test_write_analysis_code 2024-01-30 22:04:00 +08:00
yzlin
4a7929d880 rm immature code, improve naming, add unittest test rsp cache 2024-01-30 21:04:33 +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
刘棒棒
0c8a844f5a add strip for result. 2024-01-24 12:06:07 +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
林义章
93538cc848 Merge branch 'add-test-for-aask_code-executecode' into 'code_intepreter'
Add test for aask code and executecode

See merge request agents/data_agents_opt!57
2024-01-22 13:42:26 +00:00
刘棒棒
0ad3de69a1 update _process_code. 2024-01-22 18:54:21 +08:00
geekan
452f6e2c38 fix bugs 2024-01-22 18:52:55 +08:00
刘棒棒
3bfd0c8dad update truncate. 2024-01-22 18:36:23 +08:00
刘棒棒
6cb2910d14 fix: now present the results of failure and success code in different ways. 2024-01-22 15:29:28 +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
yzlin
540542834e allow select tool at role initialization & restructure writecodewithtools 2024-01-20 21:06:48 +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
yzlin
3faa094248 fix aask_code issues in ml_engineer 2024-01-18 23:45:37 +08:00
yzlin
9dc421b122 rename schema to schemas to avoid pydantic warning 2024-01-18 21:22:34 +08:00
yzlin
c8858cd8d4 minimize ml_engineer 2024-01-18 21:22:34 +08:00
yzlin
46cd219e81 add tool registry 2024-01-18 21:22:04 +08:00
刘棒棒
d78db8994c delete arg only_code. 2024-01-18 20:57:43 +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
刘棒棒
ff10c9bdda change name: _display_markdown -> display_markdown. 2024-01-17 18:10:30 +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
刘棒棒
95ce190f32 feature: display markdown content. 2024-01-16 14:30:07 +08:00