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
e1b783ca14
Merge branch 'main' into incremental_development
...
# Conflicts:
# metagpt/schema.py
2024-01-19 19:53:17 +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
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
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
mannaandpoem
684d10bb24
1. Remove PRD when write code
2024-01-12 20:38:23 +08:00
mannaandpoem
a363691c38
1. add guideline in context of write_code_review.py
...
2. update prompt
2024-01-12 17:33:15 +08:00
mannaandpoem
3848596b0f
update prompt
2024-01-11 14:04:44 +08:00
yzlin
a3dc6aa7e3
Merge branch 'main' into llm_mock
2024-01-05 15:28:03 +08:00
yzlin
1249d12b6f
add openai api call switch; fix ocr
2024-01-05 14:34:44 +08:00
莘权 马
43d07de810
feat: Replace the actual root directory name of the project codes with a fake one in the WriteTest prompt.
2024-01-05 11:02:41 +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
mannaandpoem
e3cd1a2cc1
Update prompt and fix up some bug
2024-01-04 10:41:36 +08:00
mannaandpoem
9435352031
Update design_api_an.py and test_increment.py
2024-01-03 20:04:16 +08:00
mannaandpoem
24e617b362
Merge main branch
2024-01-03 19:48:46 +08:00
mannaandpoem
994cfe814b
1. Added test_increment.py
...
2. Modify prompt in design_api_an.py
3. Modify rename_root function using method of copy in git_repository.py
2024-01-03 18:10:53 +08:00
莘权 马
718dd0fd9e
feat: parse class view
2024-01-03 17:35:09 +08:00
mannaandpoem
71d9fe31ab
Modify filename in comment and prompt in write_code_guideline_an.py
2024-01-03 15:46:28 +08:00
mannaandpoem
b19995f083
Added some test cases
2024-01-03 14:19:14 +08:00
mannaandpoem
a24bfdc6c7
Modify style and format
2024-01-02 23:06:27 +08:00
莘权 马
49a95e6608
feat: merge geekan:dev
2024-01-02 22:36:16 +08:00
莘权 马
eabe0224c5
feat: +rebuild project
...
feat: parse pass
2024-01-02 22:34:48 +08:00
geekan
c50ae4d8d7
refine code
2024-01-02 20:49:20 +08:00
geekan
0b9becf93f
fix pydantic v2 model validation for custom class
2024-01-02 19:27:42 +08:00
mannaandpoem
3a819ad576
update write_code.py
2024-01-02 19:20:46 +08:00
mannaandpoem
6d9dfa73aa
Fallback to a version that only uses "Refine" and update the prompt for ActionNode
2024-01-02 18:24:02 +08:00
geekan
907cf5bebc
remove get_template function
2024-01-02 14:45:58 +08:00
mannaandpoem
6743a4f3b1
update prompt
2023-12-31 12:56:15 +08:00
莘权 马
681068edc9
feat: +unit test
2023-12-29 21:37:42 +08:00
mannaandpoem
db22ed214f
Modify prompt in write_code_guide_an.py and write_code.py
2023-12-29 13:55:30 +08:00
better629
65671a3bca
no need to define new llm field in subclass again
2023-12-29 09:22:31 +08:00
better629
3c07bf5622
Merge branch 'dev' of github.com:better629/MetaGPT into dev
2023-12-29 04:28:21 +08:00
better629
e52957026b
update ser&deser unittest
2023-12-29 04:27:44 +08:00
better629
539e1c7dce
Merge branch 'dev' into dev
2023-12-29 02:48:39 +08:00
better629
0f047e5693
update provider unittests to update coverage rate
2023-12-29 02:39:00 +08:00
geekan
4e61062a5e
fix skill manager
2023-12-28 23:38:46 +08:00
莘权 马
a2d8d06664
feat: +unit test
2023-12-28 22:06:58 +08:00