diff --git a/python/samples/03-workflows/orchestrations/group_chat_philosophical_debate.py b/python/samples/03-workflows/orchestrations/group_chat_philosophical_debate.py index 52cd338d329..b0a9380449c 100644 --- a/python/samples/03-workflows/orchestrations/group_chat_philosophical_debate.py +++ b/python/samples/03-workflows/orchestrations/group_chat_philosophical_debate.py @@ -226,9 +226,7 @@ async def main() -> None: GroupChatBuilder( participants=[farmer, developer, teacher, activist, spiritual_leader, artist, immigrant, doctor], termination_condition=lambda messages: sum(1 for msg in messages if msg.role == "assistant") >= 10, - intermediate_output_from=[ - "all", - ], + intermediate_output_from="all_other", orchestrator_agent=moderator, ) .with_termination_condition(lambda messages: sum(1 for msg in messages if msg.role == "assistant") >= 10)