docstr: Add command-line arguments specifically for this agent.
docstr_tok: ["Add","command-line","arguments","specifically","for","this","agent","."]
code: def add_cmdline_args(
      cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
  ) -> ParlaiParser:
      """
      Add command-line arguments specifically for this agent.
      """
      agent = parser.add_argument_group("Safe Local Human Arguments")
      agent.add_argument(
          "--safety",
          type=str,
          default="all",
          choices={"none", "string_matcher", "classifier", "all"},
          help="Apply safety filtering to messages",
      )
      super().add_cmdline_args(parser, partial_opt=partial_opt)
      return parser
  
file_path: ParlAI/parlai/agents/safe_local_human/safe_local_human.py
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from parlai.core.message import Message
  from parlai.utils.misc import display_messages
  from parlai.utils.strings import colorize
  from parlai.agents.local_human.local_human import LocalHumanAgent
  from parlai.utils.safety import OffensiveStringMatcher, OffensiveLanguageClassifier
label_desc: Use image node_id 1 for calling the SafeLocalHumanAgent obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: parser