From 55794a572bca46077ce439dd987978fa2176f555 Mon Sep 17 00:00:00 2001 From: MrL <332199893@qq.com> Date: Wed, 4 Oct 2023 11:40:41 +0800 Subject: [PATCH] make roles to speak their mind while they act --- examples/werewolf_game/actions/common_actions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/werewolf_game/actions/common_actions.py b/examples/werewolf_game/actions/common_actions.py index 5f56806da..9a5e628eb 100644 --- a/examples/werewolf_game/actions/common_actions.py +++ b/examples/werewolf_game/actions/common_actions.py @@ -34,7 +34,6 @@ class Speak(Action): async def run(self, context: str, profile: str): - # prompt = self.PROMPT_TEMPLATE.format(context=context, profile=profile) prompt = self.PROMPT_TEMPLATE.replace("__context__", context).replace("__profile__", profile) rsp = await self._aask(prompt)