diff --git a/groupchat.py b/groupchat.py index 84ae3d29..76e5aba9 100644 --- a/groupchat.py +++ b/groupchat.py @@ -57,10 +57,7 @@ group = GroupChat( manager = GroupChatManager( groupchat=group, - name="chat_manager", max_consecutive_auto_reply=3, - human_input_mode="NEVER", - system_message="Group chat manager", ) output = group.run( diff --git a/swarms/swarms/groupchat.py b/swarms/swarms/groupchat.py index 1efcbc58..d5d8ddc4 100644 --- a/swarms/swarms/groupchat.py +++ b/swarms/swarms/groupchat.py @@ -77,14 +77,14 @@ class GroupChatManager(Worker): def __init__( self, groupchat: GroupChat, - name: Optional[str] = "chat_manager", + ai_name: Optional[str] = "chat_manager", max_consecutive_auto_reply: Optional[int] = sys.maxsize, human_input_mode: Optional[str] = "NEVER", system_message: Optional[str] = "Group chat manager", **kwargs ): super().__init__( - name=name, + ai_name=ai_name, max_consecutive_auto_reply=max_consecutive_auto_reply, human_input_mode=human_input_mode, system_message=system_message,