Spaces:
Build error
Build error
Download openhands/events/observation/empty.py from Backup-bdg/OpenHands: direct link, hf CLI and curl.
- Browser
- Download file 444 Bytes
-
https://huggingface.co/spaces/Backup-bdg/OpenHands/resolve/main/openhands/events/observation/empty.py
- Command line
-
hf download hf://spaces/Backup-bdg/OpenHands/openhands/events/observation/empty.py
-
curl -L -o empty.py https://huggingface.co/spaces/Backup-bdg/OpenHands/resolve/main/openhands/events/observation/empty.py
444 Bytes
| from dataclasses import dataclass | |
| from openhands.core.schema import ObservationType | |
| from openhands.events.observation.observation import Observation | |
| class NullObservation(Observation): | |
| """This data class represents a null observation. | |
| This is used when the produced action is NOT executable. | |
| """ | |
| observation: str = ObservationType.NULL | |
| def message(self) -> str: | |
| return 'No observation' | |