class_docstr: Abstract class for end-to-end tests of one-turn ParlAIChatBlueprint tasks.
class_docstr_tok: ["Abstract","class","for","end-to-end","tests","of","one-turn","ParlAIChatBlueprint","tasks","."]
docstr: Have the agent specified by agent_id send the specified text and task data with
  the given display ID string.
code: def _send_agent_message(
      self,
      agent_id: str,
      agent_display_id: str,
      text: str,
      task_data: Dict[str, Any],
  ):
      """
      Have the agent specified by agent_id send the specified text and task data with
      the given display ID string.
      """
      act_content = {
          "text": text,
          "task_data": task_data,
          "id": agent_display_id,
          "episode_done": False,
      }
      self.server.send_agent_act(
          agent_id=agent_id, act_content=act_content
      )
      self.await_channel_requests()
  
imports: import os
  import random
  import tempfile
  import time
  import unittest
  from typing import Any, Dict, List, Optional, Sequence, Union
  import numpy
  import torch
  from parlai.utils import logging
  from hydra.experimental import compose, initialize
  from mephisto.abstractions.blueprint import SharedTaskState
  from mephisto.abstractions.databases.local_database import LocalMephistoDB
  from mephisto.data_model.task_run import TaskRunArgs
  from mephisto.operations.operator import Operator
  from mephisto.tools.scripts import augment_config_from_db
  from mephisto.utils.metrics import InaccessiblePrometheusServer
  from pytest_regressions.data_regression import DataRegressionFixture
label_desc: Use image node_id 6 for calling the AbstractParlAIChatTest obj's underlying member method code with example usage: obj._send_agent_message(agent_id, agent_display_id, text, task_data) without return types