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