Skip to main content

openhands.agenthub.planner_agent.response_parser

PlannerResponseParser Objects

class PlannerResponseParser(ResponseParser)

parse_action

def parse_action(action_str: str) -> Action

Parses a string to find an action within it

Arguments:

  • response (str): The string to be parsed

Returns:

  • Action: The action that was found in the response string