Spaces:
Configuration error
Configuration error
Download frontend/src/ignore-task-state-map.constant.ts from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 794 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/ignore-task-state-map.constant.ts
- Command line
-
hf download hf://spaces/flyingdarkdev/README/frontend/src/ignore-task-state-map.constant.ts
-
curl -L -o ignore-task-state-map.constant.ts https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/ignore-task-state-map.constant.ts
794 Bytes
| import { AgentState } from "./types/agent-state"; | |
| export const IGNORE_TASK_STATE_MAP: Record<string, AgentState[]> = { | |
| [AgentState.PAUSED]: [ | |
| AgentState.INIT, | |
| AgentState.PAUSED, | |
| AgentState.STOPPED, | |
| AgentState.FINISHED, | |
| AgentState.REJECTED, | |
| AgentState.AWAITING_USER_INPUT, | |
| AgentState.AWAITING_USER_CONFIRMATION, | |
| ], | |
| [AgentState.RUNNING]: [ | |
| AgentState.INIT, | |
| AgentState.RUNNING, | |
| AgentState.STOPPED, | |
| AgentState.FINISHED, | |
| AgentState.REJECTED, | |
| AgentState.AWAITING_USER_INPUT, | |
| AgentState.AWAITING_USER_CONFIRMATION, | |
| ], | |
| [AgentState.STOPPED]: [AgentState.INIT, AgentState.STOPPED], | |
| [AgentState.USER_CONFIRMED]: [AgentState.RUNNING], | |
| [AgentState.USER_REJECTED]: [AgentState.RUNNING], | |
| [AgentState.AWAITING_USER_CONFIRMATION]: [], | |
| }; | |