From 1a7f415fa933c2e6f944d9538e06a0e64bf9faaa Mon Sep 17 00:00:00 2001 From: kevin-meng Date: Mon, 25 Sep 2023 23:27:12 +0800 Subject: [PATCH] modify pronunciation --- examples/werewolf_game/actions/guard_actions.py | 4 ++-- examples/werewolf_game/start_game.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/werewolf_game/actions/guard_actions.py b/examples/werewolf_game/actions/guard_actions.py index 98dfc3b32..10e550a49 100644 --- a/examples/werewolf_game/actions/guard_actions.py +++ b/examples/werewolf_game/actions/guard_actions.py @@ -9,10 +9,10 @@ class Protect(Action): this is game history: {context}. Attention: you can not protect the same player two nights in a row. - Now, choose one to portect, you will: + Now, choose one to protect, you will: """ - def __init__(self, name="Speak", context=None, llm=None): + def __init__(self, name="Protect", context=None, llm=None): super().__init__(name, context, llm) async def run(self, context: str): diff --git a/examples/werewolf_game/start_game.py b/examples/werewolf_game/start_game.py index 0b10a0a86..eeb4dbf21 100644 --- a/examples/werewolf_game/start_game.py +++ b/examples/werewolf_game/start_game.py @@ -1,6 +1,8 @@ import asyncio import platform import fire +import sys +sys.path.append("../../") from examples.werewolf_game.werewolf_game import WerewolfGame from examples.werewolf_game.roles import Moderator, Villager, Werewolf, Guard