Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: GroupChat stop condition unclear #3501

Closed
zhwuwuwu opened this issue Sep 10, 2024 · 0 comments
Closed

[Bug]: GroupChat stop condition unclear #3501

zhwuwuwu opened this issue Sep 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zhwuwuwu
Copy link

Describe the bug

  1. In the definition of a group chat, there are different ways to define when the group chat should stop: max_round, max_consecutive_auto_reply, is_termination_msg, max_turns.
    But it seems only max_round literally works:
        self.group_chat = GroupChat(
            ...
            max_round=4,
        )
        self.group_chat_manager = GroupChatManager(
            ...
            max_consecutive_auto_reply=1,
            # is_termination_msg=lambda x: "TERMINATE" in x.get("content", ""),
        )
        result = self.human_proxy.initiate_chat(
            self.group_chat_manager,  
            message=input,
            ...
            max_turns=1,  # The maximum number of turns in the conversation.
        )

  1. Is there a way to customize the stop condition, for example, stop the group chat once after a certain agent speaks?

Steps to reproduce

No response

Model Used

No response

Expected Behavior

No response

Screenshots and logs

No response

Additional Information

No response

@zhwuwuwu zhwuwuwu added the bug Something isn't working label Sep 10, 2024
@zhwuwuwu zhwuwuwu closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant