1. Split CODE_PLAN_AND_CHANGE into DEVELOPMENT_PLAN and IMPLEMENT_CHANGE

2. Update prompt
3. Adjust the position of the log for WriteCodePlanAndChange
This commit is contained in:
mannaandpoem 2024-02-18 19:12:45 +08:00
parent 344bbd186d
commit 464de9e945
3 changed files with 40 additions and 21 deletions

View file

@ -204,7 +204,6 @@ class Engineer(Role):
async def _act_code_plan_and_change(self):
"""Write code plan and change that guides subsequent WriteCode and WriteCodeReview"""
logger.info("Writing code plan and change..")
node = await self.rc.todo.run()
code_plan_and_change = node.instruct_content.model_dump_json()
dependencies = {