Commit graph

1405 commits

Author SHA1 Message Date
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
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
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
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
mannaandpoem
40db41cda5 1. Added 4 compressed package of code examples
2. Update test_incremental_dev.py and engineer.py
2024-01-04 18:43:58 +08:00
mannaandpoem
e3cd1a2cc1 Update prompt and fix up some bug 2024-01-04 10:41:36 +08:00
mannaandpoem
0168c99323 Replace self._rc to self.rc in engineer.py 2024-01-03 23:15:43 +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
mannaandpoem
71d9fe31ab Modify filename in comment and prompt in write_code_guideline_an.py 2024-01-03 15:46:28 +08:00
geekan
9bee3ca838 add ABC deco to ToT base 2024-01-03 14:59:21 +08:00
geekan
99e10b235b make tot follow format in 3.5-turbo 2024-01-03 14:42:13 +08:00
geekan
c07cf543bf refine code 2024-01-03 14:24:07 +08:00
geekan
1060292cbf refine code 2024-01-03 14:21:21 +08:00
mannaandpoem
b19995f083 Added some test cases 2024-01-03 14:19:14 +08:00
geekan
feb89ec17f repo_parser add tests 2024-01-03 14:09:42 +08:00
shenchucheng
269750e616 fix search_engine_serper arbitrary types error 2024-01-03 10:18:55 +08:00
mannaandpoem
a24bfdc6c7 Modify style and format 2024-01-02 23:06:27 +08:00
geekan
78b7e164f9 refine tests 2024-01-02 21:58:31 +08:00
geekan
05749fad31 refactor filename 2024-01-02 21:44:51 +08:00
geekan
e580e971a9
Merge pull request #666 from better629/dev
rm useless code and increase UT ratio
2024-01-02 21:40:27 +08:00
geekan
a8df4f85f0 remove prompts of mineraft 2024-01-02 21:35:58 +08:00
geekan
c3dd03671d faiss store: add tests 2024-01-02 21:30:35 +08:00
better629
1d35cab9d7 rm useless code and increase UT ratio 2024-01-02 21:21:10 +08:00
geekan
54201b1459 add test document 2024-01-02 21:07:03 +08:00
geekan
c50ae4d8d7 refine code 2024-01-02 20:49:20 +08:00
geekan
f5ed1349ba remove document_store/document.py 2024-01-02 20:25:16 +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
5649fac62d fix pylint warnings 2024-01-02 18:14:03 +08:00
geekan
d2260a5958
Merge pull request #663 from iorisa/feature/unittest
feat: +unit test
2024-01-02 17:49:23 +08:00
莘权 马
b7d74c6483 fixbug: azure openai 2024-01-02 16:26:03 +08:00
geekan
fe5e500501 add comments to SerializationMixin 2024-01-02 15:26:23 +08:00
geekan
786f862a8b fix azure 2024-01-02 15:16:59 +08:00
geekan
907cf5bebc remove get_template function 2024-01-02 14:45:58 +08:00
geekan
0789f2c109 test strategy 2024-01-02 14:45:58 +08:00