def format_history()

in roast/roast.py [0:0]


def format_history(roast_history):
    """Format the roast history to include only the roasts without thoughts.

    Args:
        roast_history (list): A list of dicts containing speaker and text/roast.

    Returns:
        str: A formatted string of the roast journey.
    """
    return "\n".join(f"{turn['speaker']}: {turn['roast']}" for turn in roast_history)