diff --git a/autogen/agentchat/groupchat.py b/autogen/agentchat/groupchat.py index a648c95e758d..5113017e1cdf 100644 --- a/autogen/agentchat/groupchat.py +++ b/autogen/agentchat/groupchat.py @@ -1185,6 +1185,7 @@ def run_chat( raise except NoEligibleSpeaker: # No eligible speaker, terminate the conversation + logger.warning("No eligible speaker found. Terminating the conversation.") break if reply is None: @@ -1266,6 +1267,7 @@ async def a_run_chat( raise except NoEligibleSpeaker: # No eligible speaker, terminate the conversation + logger.warning("No eligible speaker found. Terminating the conversation.") break if reply is None: