Backendopenhandsopenhands.eventsutils本页总览openhands.events.utilsget_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).