OpenHands / frontend /src /services /agent-state-service.ts
Backup-bdg's picture
Upload 565 files
b59aa07 verified
raw
history blame contribute delete
245 Bytes
import ActionType from "#/types/action-type";
import { AgentState } from "#/types/agent-state";
export const generateAgentStateChangeEvent = (state: AgentState) => ({
action: ActionType.CHANGE_AGENT_STATE,
args: { agent_state: state },
});