#2869 - Remove outdated parameters from actionmanager (action map achieves the same result) [skip ci]

This commit is contained in:
Marek Wolan
2025-01-14 13:48:18 +00:00
parent fb5242bd78
commit 40d052141c
42 changed files with 36 additions and 1679 deletions

View File

@@ -93,8 +93,8 @@ class AbstractAgent(BaseModel):
return ValueError(f"Invalid Agent Type: {config['type']}")
obj = cls(
config=cls.ConfigSchema(**config["agent_settings"]),
action_manager=ActionManager.from_config(config["game"], config["action_manager"]),
observation_manager=ObservationManager.from_config(config["observation_manager"]),
action_manager=ActionManager.from_config(config["action_space"]),
observation_manager=ObservationManager.from_config(config["observation_space"]),
reward_function=RewardFunction.from_config(config["reward_function"]),
)
return obj