Aller directement au contenu principal

openhands.agenthub.codeact_swe_agent.action_parser

CodeActSWEActionParserFinish Objects

class CodeActSWEActionParserFinish(ActionParser)

Parser action:

  • AgentFinishAction() - end the interaction

CodeActSWEActionParserCmdRun Objects

class CodeActSWEActionParserCmdRun(ActionParser)

Parser action:

  • CmdRunAction(command) - bash command to run
  • AgentFinishAction() - end the interaction

CodeActSWEActionParserIPythonRunCell Objects

class CodeActSWEActionParserIPythonRunCell(ActionParser)

Parser action:

  • IPythonRunCellAction(code) - IPython code to run

CodeActSWEActionParserMessage Objects

class CodeActSWEActionParserMessage(ActionParser)

Parser action:

  • MessageAction(content) - Message action to run (e.g. ask for clarification)