🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
pm watch UserRequirement if fixed sop
garylin2099d97955643cb5
diff --git a/metagpt/roles/product_manager.py b/metagpt/roles/product_manager.pyindex 93d83e329..f2a47affd 100644--- a/metagpt/roles/product_manager.py+++ b/metagpt/roles/product_manager.py@@ -42,8 +42,8 @@ class ProductManager(RoleZero):# NOTE: The following init setting will only be effective when self.use_fixed_sop is changed to Trueself.enable_memory = Falseself.set_actions([PrepareDocuments(send_to=any_to_str(self)), WritePRD])- self._watch([UserRequirement, PrepareDocuments])if self.use_fixed_sop:+ self._watch([UserRequirement, PrepareDocuments])self.rc.react_mode = RoleReactMode.BY_ORDERdef _update_tool_execution(self):