Aller directement au contenu principal

openhands.events.utils

get_pairs_from_events

def get_pairs_from_events(
events: list[Event]) -> list[tuple[Action, Observation]]

Return the history as a list of tuples (action, observation).