Spaces:
Configuration error
Configuration error
Download openhands/events/action/action.py from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 444 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/openhands/events/action/action.py
- Command line
-
hf download hf://spaces/flyingdarkdev/README/openhands/events/action/action.py
-
curl -L -o action.py https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/openhands/events/action/action.py
444 Bytes
| from dataclasses import dataclass | |
| from enum import Enum | |
| from typing import ClassVar | |
| from openhands.events.event import Event | |
| class ActionConfirmationStatus(str, Enum): | |
| CONFIRMED = 'confirmed' | |
| REJECTED = 'rejected' | |
| AWAITING_CONFIRMATION = 'awaiting_confirmation' | |
| class ActionSecurityRisk(int, Enum): | |
| UNKNOWN = -1 | |
| LOW = 0 | |
| MEDIUM = 1 | |
| HIGH = 2 | |
| class Action(Event): | |
| runnable: ClassVar[bool] = False | |