zzz / frontend /src /services /agent-state-service.ts
ar08's picture
Upload 1040 files
246d201 verified
raw
history blame contribute delete
252 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 },
});