From e694848b48ed63f74fba73d0deeeed480be811c1 Mon Sep 17 00:00:00 2001 From: MrL <332199893@qq.com> Date: Wed, 4 Oct 2023 11:31:05 +0800 Subject: [PATCH] make roles to speak their mind while they act --- examples/werewolf_game/actions/common_actions.py | 1 - examples/werewolf_game/actions/werewolf_actions.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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"