Spaces:
Configuration error

gauravanu001's picture
upload
2d63f96 verified
Raw History Blame Contribute Delete
444 Bytes
from dataclasses import dataclass
from openhands.core.schema import ObservationType
from openhands.events.observation.observation import Observation
@dataclass
class NullObservation(Observation):
"""This data class represents a null observation.
This is used when the produced action is NOT executable.
"""
observation: str = ObservationType.NULL
@property
def message(self) -> str:
return 'No observation'