Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

make roles to speak their mind while they act

MrLe694848b48ed
diff --git a/examples/werewolf_game/actions/common_actions.py b/examples/werewolf_game/actions/common_actions.py
index 14e3cc0c0..af477d397 100644
--- a/examples/werewolf_game/actions/common_actions.py
+++ b/examples/werewolf_game/actions/common_actions.py
@@ -64,7 +64,6 @@ class Speak(Action):
return rsp_json['SPEECH_OR_VOTE']
-
class NighttimeWhispers(Action):
"""
diff --git a/examples/werewolf_game/actions/werewolf_actions.py b/examples/werewolf_game/actions/werewolf_actions.py
index cb30ca7eb..74905ff16 100644
--- a/examples/werewolf_game/actions/werewolf_actions.py
+++ b/examples/werewolf_game/actions/werewolf_actions.py
@@ -1,6 +1,7 @@
from metagpt.actions import Action
from examples.werewolf_game.actions.common_actions import Speak, NighttimeWhispers
+
class Hunt(NighttimeWhispers):
ROLE = "Werewolf"
ACTION = "KILL"