2623 update defaults

This commit is contained in:
Marek Wolan
2024-07-11 15:50:35 +01:00
parent 579469d1c3
commit abbfc86942
2 changed files with 2 additions and 1 deletions

View File

@@ -69,7 +69,7 @@ class AgentSettings(BaseModel):
"Configuration for when an agent begins performing it's actions" "Configuration for when an agent begins performing it's actions"
flatten_obs: bool = True flatten_obs: bool = True
"Whether to flatten the observation space before passing it to the agent. True by default." "Whether to flatten the observation space before passing it to the agent. True by default."
action_masking: bool = True action_masking: bool = False
"Whether to return action masks at each step." "Whether to return action masks at each step."
@classmethod @classmethod

View File

@@ -174,6 +174,7 @@ class RequestManager(BaseModel):
return requests return requests
def show(self) -> None: def show(self) -> None:
"""Display all currently available requests and whether they are valid."""
table = PrettyTable(["request", "valid"]) table = PrettyTable(["request", "valid"])
table.align = "l" table.align = "l"
table.add_rows(self.get_request_types_recursively()) table.add_rows(self.get_request_types_recursively())