Build and run agents you can see, understand and trust.
Python agentchatbotlarge-language-modelsllmllm-agentmcpmulti-agentmulti-modalreact-agentrealtime-agentvoice-agentvoice-assistant
fix(werewolves): report game result when game ends at night phase
qbc331109bebfb0
diff --git a/examples/game/werewolves/game.py b/examples/game/werewolves/game.pyindex e7e08e6c2..4fcbd82c3 100644--- a/examples/game/werewolves/game.py+++ b/examples/game/werewolves/game.py@@ -261,7 +261,9 @@ async def werewolves_game(agents: list[ReActAgent]) -> None:# Check winningres = players.check_winning()if res:- await moderator(res)+ async with MsgHub(players.all_players) as all_players_hub:+ res_msg = await moderator(res)+ await all_players_hub.broadcast(res_msg)break# Discussion