Aller directement au contenu principal

openhands.core.schema.agent

AgentState Objects

class AgentState(str, Enum)

LOADING

The agent is loading.

INIT

The agent is initialized.

RUNNING

The agent is running.

AWAITING_USER_INPUT

The agent is awaiting user input.

PAUSED

The agent is paused.

STOPPED

The agent is stopped.

FINISHED

The agent is finished with the current task.

REJECTED

The agent rejects the task.

ERROR

An error occurred during the task.

AWAITING_USER_CONFIRMATION

The agent is awaiting user confirmation.

USER_CONFIRMED

The user confirmed the agent's action.

USER_REJECTED

The user rejected the agent's action.