Skip to content

GroupChat round-robin skips agent when max_round is even #7678

@yashpandya-msr

Description

@yashpandya-msr

With 3 agents and max_round=4, agent C never speaks. Appears to be an off-by-one error in the speaker selection loop. Tested on autogen-agentchat 0.4.x on Python 3.11. Steps to reproduce: 1) Create GroupChat with agents A, B, C. 2) Set max_round=4. 3) Observe agent C is never selected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions