🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
use react instead of _react
geekan862707d4b7bd
diff --git a/metagpt/roles/role.py b/metagpt/roles/role.pyindex 66475da72..b673c330d 100644--- a/metagpt/roles/role.py+++ b/metagpt/roles/role.py@@ -412,7 +412,7 @@ class Role:logger.debug(f"{self._setting}: no news. waiting.")return- rsp = await self._react()+ rsp = await self.react()# Reset the next action to be taken.self._rc.todo = None