code: def create_agents(opt):
      if not opt.get("interactive_task", False):
          return create_task_agent_from_taskname(opt)
      else:
          # interactive task has no task agents (they are attached as user agents)
          return []
  
file_path: ParlAI/parlai/tasks/md_gender/agents.py
imports: from .convai2 import Convai2Teacher
  from .funpedia import FunpediaTeacher
  from .light import LIGHTTeacher
  from .image_chat import ImageChatTeacher
  from .opensubtitles import OpensubtitlesTeacher
  from .wikipedia import WikipediaTeacher
  from .wizard import WizardTeacher
  from .yelp import YelpTeacher
  from .new_data import MdGenderTeacher
  from parlai.core.teachers import create_task_agent_from_taskname
label_desc: Use image node_id 1 for calling a global function with example usage: create_agents(opt) and returns: create_task_agent_from_taskname, list