Merge branch 'main' into human_roleplay

This commit is contained in:
garylin2099 2023-11-15 19:11:45 +08:00
commit 96fd7c8853
11 changed files with 121 additions and 143 deletions

View file

@ -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()