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