跳到主要内容

openhands.events.action.agent

ChangeAgentStateAction Objects

@dataclass
class ChangeAgentStateAction(Action)

Fake action, just to notify the client that a task state has changed.

AgentFinishAction Objects

@dataclass
class AgentFinishAction(Action)

An action where the agent finishes the task.

Attributes:

  • outputs dict - The outputs of the agent, for instance "content".
  • thought str - The agent's explanation of its actions.
  • action str - The action type, namely ActionType.FINISH.