mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
pm watch UserRequirement if fixed sop
This commit is contained in:
parent
4bd7937890
commit
d97955643c
1 changed files with 1 additions and 1 deletions
|
|
@ -42,8 +42,8 @@ class ProductManager(RoleZero):
|
|||
# NOTE: The following init setting will only be effective when self.use_fixed_sop is changed to True
|
||||
self.enable_memory = False
|
||||
self.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_ORDER
|
||||
|
||||
def _update_tool_execution(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue