Skip to content

Commit bb787ad

Browse files
committed
Set default randomize topology request to True for agents during reset
1 parent 0b5ddc5 commit bb787ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AIDojoCoordinator/coordinator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ async def _process_reset_game_action(self, agent_addr: tuple, reset_action:Actio
551551
# add reset request for this agent
552552
self._reset_requests[agent_addr] = True
553553
# register if the agent wants to randomize the topology
554-
self._randomize_topology_requests[agent_addr] = reset_action.parameters.get("randomize_topology", False)
554+
self._randomize_topology_requests[agent_addr] = reset_action.parameters.get("randomize_topology", True)
555555
if all(self._reset_requests.values()):
556556
# all agents want reset - reset the world
557557
self.logger.debug(f"All agents requested reset, setting the event")

0 commit comments

Comments
 (0)