From 4221bcbe6be3f6054c9bc4703f0b9d0fd188407c Mon Sep 17 00:00:00 2001 From: Kye Date: Fri, 6 Oct 2023 13:45:31 -0400 Subject: [PATCH] clean up Former-commit-id: 9a5ee78af11a99b1661f8f4f9912cef69796fe98 --- groupchat.py | 3 --- swarms/swarms/groupchat.py | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) 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,