mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
move RewriteCode to actions/write_code_review.py
This commit is contained in:
parent
050bec2ccf
commit
a48ccfdcf9
4 changed files with 92 additions and 104 deletions
|
|
@ -10,8 +10,7 @@ EXTRA_INSTRUCTION = """
|
|||
10. When provided system design, YOU MUST FOLLOW "Data structures and interfaces". DONT CHANGE ANY DESIGN. Do not use public member functions that do not exist in your design.
|
||||
11. Write out EVERY CODE DETAIL, DON'T LEAVE TODO.
|
||||
12. To modify code in a file, read the entire file, make changes, and update the file with the complete code.
|
||||
13. Revise task is to use RewriteCode.run to correct code.
|
||||
14. Only When provided system design, at the end of the plan, add a Revise task for each file; for example, if there are three files, add three Revise tasks.
|
||||
13. Only with a system design, at the end of the plan, add a CodeReview Task for each file; for example, if there are three files, add three CodeReview Tasks.
|
||||
"""
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue