mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
Merge branch 'main' into human_roleplay
This commit is contained in:
commit
96fd7c8853
11 changed files with 121 additions and 143 deletions
|
|
@ -207,6 +207,7 @@ class Engineer(Role):
|
|||
|
||||
async def _act(self) -> Message:
|
||||
"""Determines the mode of action based on whether code review is used."""
|
||||
logger.info(f"{self._setting}: ready to WriteCode")
|
||||
if self.use_code_review:
|
||||
return await self._act_sp_precision()
|
||||
return await self._act_sp()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue