mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-03 12:52:37 +02:00
WriteCodeReview 添加确认review完成的消息
This commit is contained in:
parent
59d8d8b193
commit
f4204b4beb
1 changed files with 4 additions and 1 deletions
|
|
@ -283,7 +283,10 @@ class ReviewAndRewriteCode(Action):
|
|||
|
||||
await awrite(filename=code_path, data=code)
|
||||
|
||||
return code
|
||||
return (
|
||||
f'\nThe "review and rewrite the code {os.path.basename(code_path)}" task has been completed and is now marked as finished.\n'
|
||||
+ code
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
async def _try_aread(input: str) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue