refactor: rollback code

This commit is contained in:
莘权 马 2024-06-04 14:32:51 +08:00
parent 5a001a501d
commit b0bafc12d4

View file

@ -35,9 +35,9 @@ class ProductManager(Role):
def __init__(self, **kwargs) -> None:
super().__init__(**kwargs)
self.enable_memory = False
self.rc.react_mode = RoleReactMode.BY_ORDER
self.set_actions([PrepareDocuments(send_to=any_to_str(self)), WritePRD])
self._watch([UserRequirement, PrepareDocuments])
self.rc.react_mode = RoleReactMode.BY_ORDER
self.todo_action = any_to_name(WritePRD)
async def _think(self) -> bool: