Skip to content

BUG base agent in whitebox env cant decode block actions #447

@ondrej-lukas

Description

@ondrej-lukas
Traceback (most recent call last):
  File "/home/user/aidojo/game_coordinator/NetSecGameAgents/agents/action_list_base_agent.py", line 74, in <module>
    observation = agent.register()
                  ^^^^^^^^^^^^^^^^
  File "/home/user/aidojo/game_coordinator/NetSecGameAgents/agents/action_list_base_agent.py", line 29, in register
    self._action_list = [Action.from_dict(action_dict) for action_dict in data]
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/datafast/user/venvs/nesecgame-agent/lib/python3.12/site-packages/netsecgame/game_components.py", line 468, in from_dict
    raise ValueError(f"Unsupported value in {k}: {v}")
ValueError: Unsupported value in blocked_ip: {'ip': '192.168.1.1'}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions