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