def concat_interactive_documents(
    doc_a: interactive_document.InteractiveDocument,
    doc_b: interactive_document.InteractiveDocument,
) -> interactive_document.InteractiveDocument:
  """Concatenates two interactive documents. Returns a copy."""
  copied_doc = doc_a.copy()
  copied_doc.extend(doc_b.contents())
  return copied_doc
Concatenates two interactive documents. Returns a copy.
concordia/components/agent/deprecated/to_be_deprecated/justify_recent_voluntary_actions.py