mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
fix: GroupChatManager async run throw exception if no eligible speaker (#4283)
This commit is contained in:
@@ -1264,6 +1264,10 @@ class GroupChatManager(ConversableAgent):
|
||||
else:
|
||||
# admin agent is not found in the participants
|
||||
raise
|
||||
except NoEligibleSpeaker:
|
||||
# No eligible speaker, terminate the conversation
|
||||
break
|
||||
|
||||
if reply is None:
|
||||
break
|
||||
# The speaker sends the message without requesting a reply
|
||||
|
||||
Reference in New Issue
Block a user