Skip to content

Commit 642eddc

Browse files
committed
force check agentscope version
1 parent b150420 commit 642eddc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tutorial/example_werewolves/start.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"""The main entry point for the werewolf game."""
55

66
from typing import List
7+
import agentscope
78
import numpy as np
89
import dotenv
910
dotenv.load_dotenv()
@@ -86,6 +87,7 @@ class ExampleWerewolves(Workflow):
8687

8788
async def execute(self, workflow_task: WorkflowTask, tuner: AjetTuner) -> WorkflowOutput:
8889

90+
assert agentscope.__version__ == "1.0.7", "AgentScope has too many bugs across versions, please use version 1.0.7 for werewolves example."
8991
# ensure trainable targets is legal
9092
assert self.trainable_targets is not None, "trainable_targets cannot be None in ExampleWerewolves (because we want to demonstrate a explicit multi-agent case)."
9193

0 commit comments

Comments
 (0)