AlternatingGameEndsOnTag dose not have 'end_tag'
Opened this issue · 0 comments
When I try to run "[NegotiationArena] Scenario Creation Tutorial" I got this error at this code block
a1 = ChatGPTAgent(
model="gpt-4-1106-preview",
agent_name=AGENT_ONE,
)
a2 = ChatGPTAgent(
model="gpt-4-1106-preview",
agent_name=AGENT_TWO,
)
c = SimpleGame(
players=[a1, a2],
iterations=6,
player_starting_resources=[
Resources({"X": 25, "Y": 5}),
Resources({"X": 0, "Y": 0}),
],
player_social_behaviour=[
"",
"",
],
player_roles=[
f"You are {AGENT_ONE}, start by making a proposal.",
f"You are {AGENT_TWO}, start by accepting a trade.",
],
log_dir="./.logs/simple_game/",
)
c.run()
TypeError Traceback (most recent call last)
in <cell line: 10>()
8 )
9
---> 10 c = SimpleGame(
11 players=[a1, a2],
12 iterations=6,
in init(self, players, iterations, player_starting_resources, player_roles, player_social_behaviour, **kwargs)
13 # some params are required by the superclass, players, number of iterations and accepting tag to end the game
14 # ACCEPTING_TAG is the tag to be produced to end the game. It should appear in the TAG
---> 15 super().init(players=players, iterations=iterations, end_tag=ACCEPTING_TAG, **kwargs)
16
17 #################
TypeError: AlternatingGameEndsOnTag.init() got an unexpected keyword argument 'end_tag'