Download src/services/agent-state-service.ts from SaylorTwift/openhands: direct link, hf CLI and curl.
- Browser
- Download file 245 Bytes
-
https://huggingface.co/SaylorTwift/openhands/resolve/main/src/services/agent-state-service.ts
- Command line
-
hf download hf://SaylorTwift/openhands/src/services/agent-state-service.ts
-
curl -L -o agent-state-service.ts https://huggingface.co/SaylorTwift/openhands/resolve/main/src/services/agent-state-service.ts
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 }, | |
| }); | |