Spaces:
Runtime error
Runtime error
File size: 313 Bytes
7a273d3 c58d3eb 7a273d3 | 1 2 3 4 5 6 7 8 9 10 | from __future__ import annotations
from world_simulator.agents.base import AgentAction
from world_simulator.domain import WorldState
class IdlePlanner:
def plan(self, world: WorldState, actor_id: str) -> AgentAction:
return AgentAction(actor_id=actor_id, kind="idle", payload={"tick": world.tick})
|