lcipolina commited on
Commit
417c245
·
verified ·
1 Parent(s): 0ea97e5

Fixed bug in the human agent

Browse files
src/game_reasoning_arena/arena/agents/policy_manager.py CHANGED
@@ -62,7 +62,7 @@ def initialize_policies(config: Dict[str, Any],
62
  elif agent_type == "random":
63
  policies[f"policy_{i}"] = agent_class(seed=seed)
64
  elif agent_type == "human":
65
- policies[f"policy_{i}"] = agent_class()
66
 
67
  logger.info("Assigned: policy_%d -> %s (%s)",
68
  i, agent_type.upper(),
 
62
  elif agent_type == "random":
63
  policies[f"policy_{i}"] = agent_class(seed=seed)
64
  elif agent_type == "human":
65
+ policies[f"policy_{i}"] = agent_class(game_name=game_name)
66
 
67
  logger.info("Assigned: policy_%d -> %s (%s)",
68
  i, agent_type.upper(),