def __init__(
      self,
      memory_bank: list[str],
  ):
    """Initializes the list memory.

    Args:
      memory_bank: The memory bank to use.
    """
    self._lock = threading.Lock()
    self._buffer = []
    # Convert the memory bank to a list of strings.
    self._memory_bank = memory_bank
Initializes the list memory.

    Args:
      memory_bank: The memory bank to use.
    
concordia/components/agent/memory.py