Skip to content

Fix AttributeError in GenericAgentArgs.set_benchmark: Incorrect Reference to action_set #157

@rowingchenn

Description

@rowingchenn

In the set_benchmark method of the GenericAgentArgs class, there is an error in the code:

The code incorrectly attempts to access GenericAgentArgs.action_set, but the GenericAgentArgs class does not have an attribute named action_set.

The correct implementation should be:

self.flags.action.action_set.demo_mode = "all_blue"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions