mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
8 lines
239 B
TypeScript
8 lines
239 B
TypeScript
import ActionType from "#/types/ActionType";
|
|
import AgentState from "#/types/AgentState";
|
|
|
|
export const generateAgentStateChangeEvent = (state: AgentState) => ({
|
|
action: ActionType.CHANGE_AGENT_STATE,
|
|
args: { agent_state: state },
|
|
});
|