class_docstr: OPT BB3 Agent.
class_docstr_tok: ["OPT","BB3","Agent","."]
docstr: Override to set prompts.
docstr_tok: ["Override","to","set","prompts","."]
code: def _construct_subagent_opts(self, opt: Opt):
      """
      Override to set prompts.
      """
      super()._construct_subagent_opts(opt)
      for m in Module:
          self.opts[m]["raw_prompt"] = "DUMMY"
          self.opts[m]["api_key"] = APIUtils.DEFAULT_KEY
          for self_k, agent_k in BB3_TO_OPT_KEYS.items():
              if opt[self_k] is not None:
                  old_val = self.opts[m].get(agent_k)
                  self.opts[m][agent_k] = opt[self_k]
                  logging.debug(
                      f"Overriding {agent_k} for {m} from {old_val} to {opt[self_k]}"
                  )
  
imports: import copy
  import random
  from typing import List, Optional, Dict, Any, Union, Tuple
  from parlai.agents.rag.retrievers import Document
  from parlai.core.agents import Agent, create_agent
  from parlai.core.message import Message
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  import parlai.utils.logging
  from projects.bb3.agents.module import Module
  from projects.bb3.agents.r2c2_bb3_agent import BlenderBot3Agent
  from projects.bb3.agents.opt_api_agent import BB3OPTAgent
  from projects.bb3.agents.search_agent import SearchAgent
  from projects.bb3.agents.utils import Decision, APIUtils, is_opener, DisplayUtils, set_failed_reply
  import projects.bb3.prompts
label_desc: Use image node_id 7 for calling the BlenderBot3Agent obj's underlying member method code with example usage: obj._construct_subagent_opts(opt) without return types