2623 update defaults
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user