Spaces:
Build error
Build error
| from dataclasses import dataclass | |
| from openhands.core.schema import ObservationType | |
| from openhands.events.observation.observation import Observation | |
| class SuccessObservation(Observation): | |
| """This data class represents the result of a successful action.""" | |
| observation: str = ObservationType.SUCCESS | |
| def message(self) -> str: | |
| return self.content | |