Backup-bdg's picture
Upload 964 files
51ff9e5 verified
raw
history blame contribute delete
395 Bytes
from dataclasses import dataclass
from openhands.core.schema import ObservationType
from openhands.events.observation.observation import Observation
@dataclass
class SuccessObservation(Observation):
"""This data class represents the result of a successful action."""
observation: str = ObservationType.SUCCESS
@property
def message(self) -> str:
return self.content