Former-commit-id: 9a5ee78af1
discord-bot
Kye 1 year ago
parent a2443a2b80
commit 4221bcbe6b

@ -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(

@ -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,

Loading…
Cancel
Save