@@ -27,7 +27,6 @@ def __init__(
2727 * ,
2828 output_dir : Path ,
2929 cleanup : bool = False ,
30- push : bool = False ,
3130 keep_containers : bool = False ,
3231 ):
3332 metadata_file = output_dir / "metadata.json"
@@ -44,7 +43,7 @@ def __init__(
4443 )
4544 self .agents : list [Player ] = []
4645 for agent_conf in self .config ["players" ]:
47- self .agents .append (self .get_agent (agent_conf , self .config ["prompts" ], push = push ))
46+ self .agents .append (self .get_agent (agent_conf , self .config ["prompts" ]))
4847
4948 @property
5049 def metadata_file (self ) -> Path :
@@ -66,7 +65,7 @@ def get_metadata(self) -> dict:
6665 "agents" : [agent .get_metadata () for agent in self .agents ],
6766 }
6867
69- def get_agent (self , agent_config : dict , prompts : dict , push : bool ) -> Player :
68+ def get_agent (self , agent_config : dict , prompts : dict ) -> Player :
7069 """Create an agent with environment and game context."""
7170 environment = self .game .get_environment (f"{ self .game .game_id } .{ agent_config ['name' ]} " )
7271
@@ -82,7 +81,7 @@ def get_agent(self, agent_config: dict, prompts: dict, push: bool) -> Player:
8281 working_dir = str (DIR_WORK ),
8382 )
8483
85- return get_agent (agent_config , game_context , environment , push = push )
84+ return get_agent (agent_config , game_context , environment )
8685
8786 def run (self ) -> None :
8887 """Main execution function that runs all rounds."""
0 commit comments