medium severityautogen.GroupChat

In group chats with speaker_selection_method="round_robin", agents speak out of expected order (recently created agents first), causing wrong message sequence, e.g., user_proxy speaks immediately and terminates chat prematurely.

Root cause

GroupChat internally sorts agents by creation date (descending) instead of addition/insertion order when selecting next speaker for "round_robin" method, leading to unexpected message sequence.

AutoGengroupchatround_robinspeaker_selectionorderingsortagent-order

Citations